Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / May 2006

Tip: Looking for answers? Try searching our database.

Collection Editor - Add Button - Customize new item names?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fran Garcia - 27 Apr 2006 11:54 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.