I have created a custom control and I would like it to display in the
Toolbox with a non-default name and bitmap. I have a custom bitmap
displaying, but I can't figure out how to change the display name.
My first thought was to extend ToolBoxItem and override the DisplayName
property -- yet this property cannot be overriden. Any ideas?
Thanks,
Kristy
G Himangi - 19 Jul 2006 16:05 GMT
Use
[ToolBoxItem(typeof(YourControlClassName),DisplayName="The displayname you
want")]
---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : Drop-In Explorer GUI Controls For Your Apps (.Net & ActiveX
Editions Available)
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions rapidly in .Net
---------
>I have created a custom control and I would like it to display in the
> Toolbox with a non-default name and bitmap. I have a custom bitmap
[quoted text clipped - 5 lines]
> Thanks,
> Kristy