Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom Control Properties
Message
De
23/11/2004 06:43:22
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00963739
Message ID:
00963768
Vues:
7
>I need to set up properties so that width and height can be set at design time.
>
>This code causes an error at design time:
>
>// Width property
>public override Unit Width
>{
> get {return this.Width;}
> set {this.Width = value;}
>}

Eric,
You didn't tell the error. Check these:
-Overridable (not sealed in parent)
-Parent both have get and set accessors
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform