Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing a subclass
Message
From
06/10/2007 22:49:49
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
 
 
To
06/10/2007 19:53:10
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
01256172
Message ID:
01259221
Views:
15
Hi Bonnie,

>Do the same thing as you did for Font in your base class, override the Text property.
>
>
>	public override string Text
>	{
>		get { return base.Text; }
>		set { base.Text = "Edit"; }
>	}
>
That does the trick - many thanks. Does this mean that any property (color, font, text) that you want to see at design-time must be overriden at base.property level? Seems to defeat the object of inheritance to me.

Alan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform