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.
Applies to
See also
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.