ComponentDesigner::Verbs Property
Gets the design-time verbs supported by the component that is associated with the designer.
Assembly: System.Design (in System.Design.dll)
public: virtual property DesignerVerbCollection^ Verbs { DesignerVerbCollection^ get (); }
Property Value
Type: System.ComponentModel.Design::DesignerVerbCollectionA DesignerVerbCollection of DesignerVerb objects, or nullptr if no designer verbs are available. This default implementation always returns nullptr.
Implements
IDesigner::VerbsThis method returns nullptr 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. |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note