Monthly Archives: January 2008

Custom Controls Design Time Support Part 11: Designer Verbs

This post is simple and neat, the goal now is to add some designer verbs, so lets get straight. What is a Designer Verb? A designer can use the DesignerVerb class to add menu commands to the shortcut menu for … Continue reading

Posted in Design Time Support | 1 Comment

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 … Continue reading

Posted in Design Time Support | 12 Comments

Custom Controls Design Time Support Part 9: Introducing the Designer

What is a Designer? Designers are objects that have the ability to modify a component’s design time behavior on a design surface. A designer can display a component’s user interface as well as allow property changes to the component. It … Continue reading

Posted in Design Time Support | 2 Comments

Custom Controls Design Time Support Part 8: Implementing UITypeEditor

In the previous post I gave a brief introduction on what is a UITypeEditor and what you can get from using it, this part I will show you how to implement one. So here are the steps: Define a class … Continue reading

Posted in Design Time Support | 5 Comments

Custom Controls Design Time Support Part 7: UITypeEditor Introduction

In the previous posts in this series I introduced how to use some basic and advanced Attributes and how to add an image for your control to appear in the toolbox and then I gave an introduction on TypeConverters and … Continue reading

Posted in Design Time Support | Leave a comment

Custom Controls Design Time Support Part 6: Custom TypeConverter 2

The last post in the series I have showed you how to implement a custom TypeConverter and override some of the virtual methods from the base class. In this post I'll show how to some more advanced examples on how … Continue reading

Posted in Design Time Support | 3 Comments

Custom Controls Design Time Support Part 5: Custom TypeConverters

In the previous post I gave an introduction on common TypeConverters and how to use them, in this post I will show you how to implement custom TypeConverters for your own custom data types. First, lets explore the TypeConverter base … Continue reading

Posted in Design Time Support | 1 Comment

Custom Controls Design Time Support Part 4: TypeConverters Introduction

 I mentioned in my Introduction post of this series the TypeConverters Overview: For those who don't know what is a TypeConverter you can expect that it is something responsible to convert between types, there are times when you need to … Continue reading

Posted in Design Time Support | 8 Comments

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 … Continue reading

Posted in Design Time Support | 3 Comments

Custom Controls Design Time Support Part 2: More Design Time Attributes

In my previous post I pointed out the most common used Attributes for Design Time Support. In this part I will point out some more Attributes that take advantage of the Design Time Environment. Attributes Applied To Description DisplayName Properties & Events … Continue reading

Posted in Design Time Support | 3 Comments