MenuCommandService.Verbs Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of the designer verbs that are currently available.
public:
virtual property System::ComponentModel::Design::DesignerVerbCollection ^ Verbs { System::ComponentModel::Design::DesignerVerbCollection ^ get(); };
public virtual System.ComponentModel.Design.DesignerVerbCollection Verbs { get; }
member this.Verbs : System.ComponentModel.Design.DesignerVerbCollection
Public Overridable ReadOnly Property Verbs As DesignerVerbCollection
Property Value
A DesignerVerbCollection of the designer verbs that are currently available.
Implements
Remarks
The Verbs property provides a collection of verbs. These verbs come from two places:
Verbs added to this service through the AddVerb method are called global verbs because they are global to this service, but generally there is one instance of this service for each tool or document window. Designer verbs are obtained by querying the service provider for IDesignerHost and ISelectionService. If the selection service offers a primary selection, and a designer can be obtained for that selection from IDesignerHost, the designer's verbs are added to this list. If the name of a global verb conflicts with the name of a designer verb, the designer-provided designer verb takes precedence.