Upraviť

Zdieľať cez


IDesigner.Verbs Property

Definition

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

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

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

See also