Developing Microsoft ASP.NET Server Controls and Components (Pro-Developer)

As mentioned earlier in the chapter, a designer verb represents a command on the design surface. Designer verbs are an integral part of the designer specification. Every designer can offer a collection of designer verbs, as specified in the System.ComponentModel.Design.IDesigner interface:

DesignerVerbCollectionVerbs{get;}

Each member of the Verbs collection is a System.ComponentModel.Design.DesignerVerb or a class that derives from it.

In the ContactInfoDesigner example presented earlier in this section, we created a template editing verb ( TemplateEditingVerb ) that launches the templated editing UI. TemplateEditingVerb derives from DesignerVerb .

We'll show you another example of a designer that creates a designer verb in the "Component Editors" section of this chapter

Категории