Export (0) Print
Expand All

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.

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft