Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extending a native property
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Extending a native property
Divers
Thread ID:
00859555
Message ID:
00859555
Vues:
50
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform