DesignerActionMethodItem.IncludeAsDesignerVerb Property


Gets a value that indicates the DesignerActionMethodItem should appear in other user interface contexts.

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

public virtual bool IncludeAsDesignerVerb { get; }

Property Value

Type: System.Boolean

true if the item is to be used in shortcut menus; otherwise, false. The default is false.

If the IncludeAsDesignerVerb property is set to true, then the item is also considered a DesignerVerb; therefore, it will be added to the component's design-time shortcut menu. A list of designer verbs can be accessed through the designer's Verbs collection property.

The value of the IncludeAsDesignerVerb property is set in the constructor for this class.

.NET Framework
Available since 2.0
Return to top