Editare

Partajați prin


ComponentDesigner.Verbs Property

Definition

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

public:
 virtual property System::ComponentModel::Design::DesignerVerbCollection ^ Verbs { System::ComponentModel::Design::DesignerVerbCollection ^ get(); };
public virtual System.ComponentModel.Design.DesignerVerbCollection Verbs { get; }
member this.Verbs : System.ComponentModel.Design.DesignerVerbCollection
Public Overridable ReadOnly Property Verbs As DesignerVerbCollection

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

See also