Hi,
I have a component that has a collection of child components. The user
selects the type of child component he wants to create in the context menu
that pops up after clicking Add button.
Is it possible to customize the item names that appear on that menu?
Currently, type name is used, but I would like to displey more friendly
names.
I've already tried applying a [DisplayName("")] attribute to every child
class, but it doesn't seem to work.
Thanks in advance,
Fran Garcia
G Himangi - 02 May 2006 11:16 GMT
Unfortunately, it is not possible to change the text shown for the menu
items. Look at the code for CollectionEditor through Reflector and you will
see that this is true.
G Himangi, Sky Software
http://www.ssware.com
*Shell MegaPack for ActiveX & .Net : Advanced Controls for Drop-In Windows
Explorer GUI for your App.
*EZNamespaceExtensions.Net : Rapid Development of Shell Namespace Extensions
in .Net
*EZShellExtensions.Net : Rapid Development of IE Toolbars, IE Explorer Bars
& Windows Shell Extensions in .Net
> Hi,
>
[quoted text clipped - 12 lines]
>
> Fran Garcia