Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​Design.​DesignerVerb

Assembly: System.ComponentModel.TypeConverter

Inheritance: object → MenuCommand → DesignerVerb

Represents a verb that can be invoked from a designer.

Properties

public string
Description
Gets or sets the description of the menu item for the verb.
public string
Text
Gets the text description for the verb command on the menu.
public bool
Checked
Gets or sets a value indicating whether this menu item is checked.
public CommandID
CommandID
Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> associated with this menu command.
public bool
Enabled
Gets a value indicating whether this menu item is available.
public int
OleStatus
Gets the OLE command status code for this menu item.
Properties
Gets the public properties associated with the <see cref="T:System.ComponentModel.Design.MenuCommand" /> .
public bool
Supported
Gets or sets a value indicating whether this menu item is supported.
public bool
Visible
Gets or sets a value indicating whether this menu item is visible.

Methods

public string
ToString​()
Overrides <see cref="M:System.Object.ToString" /> .
Returns The verb's text, or an empty string ("") if the text field is empty.
public void
Invoke​()
Inherited from MenuCommand
Invokes the command.
public void
Invoke​(object arg)
Inherited from MenuCommand
Invokes the command with the given parameter.
arg An optional argument for use by the command.
protected void
OnCommandChanged​(EventArgs e)
Inherited from MenuCommand
Raises the <see cref="E:System.ComponentModel.Design.MenuCommand.CommandChanged" /> event.
e An <see cref="T:System.EventArgs" /> that contains the event data.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object