IMenuCommandService.AddVerb(DesignerVerb) Method
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.
Adds the specified designer verb to the set of global designer verbs.
public:
void AddVerb(System::ComponentModel::Design::DesignerVerb ^ verb);
public void AddVerb (System.ComponentModel.Design.DesignerVerb verb);
abstract member AddVerb : System.ComponentModel.Design.DesignerVerb -> unit
Public Sub AddVerb (verb As DesignerVerb)
Parameters
- verb
- DesignerVerb
The DesignerVerb to add.
Remarks
Designers of components that provide designer verbs should use the Verbs property of their designer rather than calling this method. This method adds a global designer verb that can be accessed from the right-click shortcut menu in design mode regardless of the currently selected component.