The BCExtensionCommand type exposes the following members.

Constructors

  NameDescription
Public methodBCExtensionCommand()()()()
Initializes a new instance of the BCExtensionCommand class.
Public methodBCExtensionCommand(Icon)
Initializes a new instance of the BCExtensionCommand class.
Public methodBCExtensionCommand(String)
Initializes a new instance of the BCExtensionCommand class.
Public methodBCExtensionCommand(String, EventHandler<(Of <<'(CommandEventArgs>)>>))
Initializes a new instance of the BCExtensionCommand class.
Public methodBCExtensionCommand(String, Icon, EventHandler<(Of <<'(CommandEventArgs>)>>))
Initializes a new instance of the BCExtensionCommand class.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetCaption
Returns the caption of the menu item that invokes the command.
(Overrides BCExtensionCommandItem..::..GetCaption()()()().)
Protected methodGetChecked
Returns a value indicating whether the menu item is in the checked state.
(Overrides BCExtensionCommandItem..::..GetChecked()()()().)
Protected methodGetEnabled
Returns a value indicating whether the menu item can respond to user interaction.
(Overrides BCExtensionCommandItem..::..GetEnabled()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetIcon
Returns the icon to display on the menu item.
(Overrides BCExtensionCommandItem..::..GetIcon()()()().)
Protected methodGetIsSeparator
Returns a value indicating whether the instance represents a line used to group other items.
(Inherited from BCExtensionCommandItem.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetVisible
Returns a value indicating whether the menu item is displayed.
(Overrides BCExtensionCommandItem..::..GetVisible()()()().)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnExecute
Raises the Execute event.
(Inherited from BCExtensionCommandItem.)
Protected methodOnLoad
Raises the Load event.
(Inherited from BCExtensionCommandItem.)
Public methodToString
Returns a string that represents the current command.
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertyCaption
Gets or sets the caption of the menu item that invokes the command.
Public propertyChecked
Gets or set a value indicating whether the menu item is in the checked state.
Public propertyEnabled
Gets or sets a value indicating whether the menu item can respond to user interaction.
Public propertyIcon
Gets or sets the icon to display on the menu item.
Public propertyTag
Gets or sets the arbitrary object value that can be used to store custom information about this element.
(Inherited from BCExtensionCommandItem.)
Public propertyVisible
Gets or sets a value indicating whether the menu item is displayed.
(Inherited from BCExtensionCommandItem.)
Public propertyWizardEnabled
Gets or set a value indicating whether to enable a wizard for the menu item.

Events

  NameDescription
Public eventAfterWizard
Occurs when a wizard has been completed.
Public eventBeforeWizard
Occurs when a wizard is being initiated.
Public eventExecute
Occurs when the command is invoked.
(Inherited from BCExtensionCommandItem.)
Public eventLoad
Occurs when the command is loaded.
(Inherited from BCExtensionCommandItem.)

See Also