IDesigner.Verbs Property

Definition

Gets a collection of the design-time verbs supported by the designer.

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

Property Value

A DesignerVerbCollection that contains the verbs supported by the designer, or null if the component has no verbs.

Remarks

Returns the design time verbs supported by the component associated with the designer. The verbs returned by this method are typically displayed by the design-time environment in a right-click menu. When a user selects one of the verbs, the event handler of the corresponding DesignerVerb is invoked.

Note

A design-time environment typically provides a Properties... entry on a component's right-click menu. To avoid duplicate titles for menu entries, no verb with a title of "Properties..." should be included in a DesignerVerbCollection.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.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
.NET Standard 2.0, 2.1

See also