This documentation is archived and is not being maintained.

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 */
public DesignerVerbCollection get_Verbs ()

public function get Verbs () : DesignerVerbCollection

Not applicable.

Property Value

A DesignerVerbCollection of DesignerVerb objects, or a null reference (Nothing in Visual Basic) if no designer verbs are available. This default implementation always returns a null reference (Nothing in Visual Basic).

This method returns a null reference (Nothing in Visual Basic) 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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
Show: