ComponentDesigner.Verbs Property

 

Gets the design-time verbs supported by the component that is associated with the designer.

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

public virtual DesignerVerbCollection Verbs { get; }

Property Value

Type: System.ComponentModel.Design.DesignerVerbCollection

A DesignerVerbCollection of DesignerVerb objects, or null if no designer verbs are available. This default implementation always returns null.

Implements

IDesigner.Verbs

This method returns null if the component has no design-time verbs.

The design-time environment typically displays verbs returned by this method in a shortcut (right-click) menu. When a user selects one of the verbs, the Invoke method of the corresponding DesignerVerb is invoked.

System_CAPS_noteNote

A design-time environment typically provides a Properties command on a component's shortcut menu. Therefore, do not include such an entry in the collection of designer-specified verbs.

.NET Framework
Available since 1.1
Return to top
Show: