ComponentDesigner.Verbs Property

Definition

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

C#
public virtual System.ComponentModel.Design.DesignerVerbCollection Verbs { get; }

Property Value

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

Implements

Remarks

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.

Note

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.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also