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 / .NET Framework / Component Services / July 2005

Tip: Looking for answers? Try searching our database.

How to group properties in property grid for a UsrControl

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gérard - 10 Jul 2005 06:16 GMT
Hi,

I develop a UsrControl based on a TextBox.
I add a format property and I would like to group 2 other properties under
the format property like that:
+ Format     Standard
    Name     "Standard"          (readonly)
    Custom   ""

I try to do the same behavior than the font property or the size property
for example.

Thank you for your help.

Gérard
Johannes Passing - 11 Jul 2005 10:57 GMT
see System.ComponentModel.CategoryAttribute.

/Johannes

> Hi,
>
[quoted text clipped - 11 lines]
>
> Gérard
Gérard - 11 Jul 2005 18:36 GMT
I have tried to use a "new category" by using the name of my root category
but, instead of grouping attributes, there is a new category which is created.

ex :  Format2         root category     (added in behavior)
          name         sub category
          custom       sub category
If I use <Category("Format2")> for my 2 sub categories, it creates a new
category
named "Format2" and add my root category Format2 in the behavior category.

Is there something special to obtain the same behavior as "size" or "font"?

Thanks

> see System.ComponentModel.CategoryAttribute.
>
[quoted text clipped - 15 lines]
> >
> > Gérard

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.