Custom Controls Design Time Support Part 10: Filtering Control Members

As I  mentioned in introducing the Designer post that one of the designer powers is filtering the control members, filtering here means removing or adding members (Properties, Events or Attributes) to the DesignTime Environment in the PropertyWindow. The IDesignerFilter interface has the methods that enable filtering the members that appear in …

Custom Controls Design Time Support Part 3: Adding Image in the Toolbox

Attributes Applied To Description ToolboxBitmap Controls           Allows you to specify an icon to represent a control in a container, such as the Microsoft Visual Studio Form Designer. » ToolboxBitmapAttribute if you want to redistribute your custom control you should use this attribute to add an icon to it. [code:c#] [ToolboxBitmap(typeof(Button))] …