Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual representation of custom controls
Message
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
00977660
Message ID:
01401047
Views:
27
>You have to use the ToolboxBitmap attribute. Have a look at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskProvidingToolboxBitmapForYourControl.asp
>
>
>>I have added several custom controls in the toolbox. However, they appear with the same icon which is a representation of a custom class. Is there a way to assign an icon to each of them so I would know which one is the button, the label, etc.?

What should I add at the top in order to use this?

// Specifies the bitmap associated with the DataGrid type.
[ToolboxBitmap(typeof(DataGrid))]
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform