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.

[Visual Basic]
Public Overridable ReadOnly Property Verbs As _
   DesignerVerbCollection  Implements IDesigner.Verbs
[C#]
public virtual DesignerVerbCollection Verbs {get;}
[C++]
public: __property virtual DesignerVerbCollection* get_Verbs();
[JScript]
public function get Verbs() : DesignerVerbCollection;

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).

Implements

IDesigner.Verbs

Remarks

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 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... entry on a component's right-click menu. Therefore, do not include such an entry in the collection of designer-specified verbs.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace | IDesigner

Show: