Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a property without subclassing
Message
From
07/03/2004 14:51:25
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Adding a property without subclassing
Miscellaneous
Thread ID:
00883926
Message ID:
00883926
Views:
49
This probably can't be done, but figured it's worth asking.

I'm using a third party control (DevComponents) to create an ExplorerBar as part of a C# form.

The control has 3 levels...the main level (vertical menu), and a second level for groups, and a third level for individual button items (DevComponents.DotNetBar.ButtonItem). The

I'd like to be able to subclass the button item, because I want to add a few properties to it and maybe even set up an interface. However, the way the control's designer works, it appears that I'm 'locked in' to "DevComponents.DotNetBar.ButtonItem".

In the form where I'm using the control, can I add a few properties, without subclassing?

I do have a workaround...the control has several existing properties that aren't being used, so I can use them to 'fake' an interface.

Thanks,
Kevin
Next
Reply
Map
View

Click here to load this message in the networking platform