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 / Visual Studio.NET / General / June 2005

Tip: Looking for answers? Try searching our database.

visual studio 2005 usercontrol toolbox properties

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
brander lien - 13 Jun 2005 16:54 GMT
i'm new to the new visual studios so this is probably something that may
apply to all the visual studio 200x releases.

i've made a usercontrol, registered in it the GC, added it to my toolbox.
i'm still have issues with the icon being found when embedded in a resource,
but i can live without that working.  has anyone gotten the icon to work
(embedded resource) in visual studio 2005?

so the real question..

i have properties on the control that show up in the properties for the
control when dragged onto a form/control.  the properties are located (by
default) under "Misc" category in the Properties box.

my question is, is there an attribute or something i can put on the property
in the class to place it under another category name?  (ie:  the Size
attribute is under the "Layout" category)

-b
brander lien - 13 Jun 2005 17:27 GMT
> i have properties on the control that show up in the properties for the
> control when dragged onto a form/control.  the properties are located (by
[quoted text clipped - 5 lines]
>
> -b

to follow up on my own question, the attribute:

[System.ComponentModel.Category("Test")]

would place the property being attributed under the "Test" category.

-b

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.