IMenuCommandService.AddVerb Method (DesignerVerb)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Adds the specified designer verb to the set of global designer verbs.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

void AddVerb(
	DesignerVerb verb

Designers of components that provide designer verbs should use the Verbs property of their designer rather than calling this method. This method adds a global designer verb that can be accessed from the right-click shortcut menu in design mode regardless of the currently selected component.

.NET Framework
Available since 1.1
Return to top