.NET Framework Class Library
IDesigner..::.Verbs Property

Updated: April 2009

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

Namespace:  System.ComponentModel.Design
Assembly:  System (in System.dll)
Syntax

Visual Basic (Declaration)
ReadOnly Property Verbs As DesignerVerbCollection
Visual Basic (Usage)
Dim instance As IDesigner
Dim value As DesignerVerbCollection

value = instance.Verbs
C#
DesignerVerbCollection Verbs { get; }
Visual C++
property DesignerVerbCollection^ Verbs {
    DesignerVerbCollection^ get ();
}
JScript
function get Verbs () : DesignerVerbCollection

Property Value

Type: System.ComponentModel.Design..::.DesignerVerbCollection
A DesignerVerbCollection that contains the verbs supported by the designer, or nullNothingnullptra null reference (Nothing in Visual Basic) 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.

NoteNote:

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.

Platforms

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

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0
See Also

Reference

Change History

Date

History

Reason

April 2009

Corrected the summary and return value for the Verbs property.

Customer feedback.

Tags :


Page view tracker