That's a job for custom attributes. If you want to display something in the
properties box, you can include (for that method):
[Bindable(true), Category("Appearance"), DefaultValue(""), Description("Show
this puppy?"]
public override bool Enabled {
get {
return base.Enabled;
} set {
base.Enabled = value;
}
}
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--
"Andrés Giraldo" <an************@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi!
I created a webcontrol that inherits from an ImageButton, I need to show
the Enable property on the PropertyBox, how can I do that?
Note: The ImageButton doesn't shows the Enable property on the
PropertyBox
Thanks!
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!