Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extending a native property
Message
From
16/12/2003 12:33:16
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Extending a native property
Miscellaneous
Thread ID:
00859555
Message ID:
00859555
Views:
51
What is the syntax to use to extend a property in a derived class?

Specifically, I want to execute some additional code in response to the setting of the Visible property on a control, and I want it encapsulated in the control class rather than being handled by a delegate on the form.

I know that I can set up a handler for VisibleChanged, but I'm curious as to whether there is a way of overriding and extending the get/set code of the native property.

Thanks.
>>-Steve->>

Steve Sawyer
Geeks and Gurus, Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform