Wimark.Controls Class Library  

CommandItem Members

CommandItem overview

Public Constructors

public constructorCommandItem Constructor Initializes a CommandItem with a blank caption.

Public Properties

public propertyChecked Gets or sets a value indicating whether the command item is checked.
public propertyCommandItems Gets a value indicating the collection of CommandItem objects associated with the command item.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyDefaultItem Gets or sets a value indicating whether a menu item, connected to this command, should be the default item.
public propertyDropDownArrow Gets or sets a value indicating whether a drop-down toolbar button, connected to this command, should display a down arrow.
public propertyEditor Gets or sets the editor that is associated with the command item.
public propertyEnabled Gets or sets a value indicating whether the command item is enabled.
public propertyImage Gets or sets the image assigned to a command item.
public propertyImageIndex Gets or sets the index value of the image to display within the command.
public propertyIndex Gets a value indicating the position of the command in the parent component.
public propertyParent Gets a value indicating the command item or command group that contains this command item.
public propertyShortcut Gets or sets a value indicating the shortcut key associated with the command item.
public propertyShowText Gets or sets a value indicating whether a toolbar button, connected to this command, should show the text caption.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertyStyle Gets or sets a value indicating the style of a command item.
public propertyTag Gets or sets the object that contains data about the command item.
public propertyText Gets or sets a value indicating the caption of the command item.
public propertyToolTipText Gets or sets the text of a tool tip that describes the command item.
public propertyToolTipTitle Gets or sets the title of a tool tip that describes the command item.

Public Methods

public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodOnCheckEnabled Raises the CheckEnabled event.
public methodOnClick Raises the Click event.
public methodOnPopup Raises the Popup event.
public methodPerformCheckEnabled Generates a CheckEnabled event for this command and all child commands.
public methodPerformClick Generates a Click event for the CommandItem, simulating a click by a user.
public methodPerformPopup Generates a Popup event for the CommandItem.
public methodToString (inherited from Component) Overridden. See Object.ToString.

Public Events

public eventCheckEnabled Occurs when the enabled property is checked.
public eventClick Occurs when the command item is clicked or selected using a shortcut key or access key defined for the command item.
public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
public eventPopup Occurs before a command item's list of command items is displayed.
public eventPropertyChanged Occurs when a property of a CommandItem object has been changed.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.

Protected Methods

protected methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
protected methodFinalize (inherited from Component) Overridden. See Object.Finalize.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnPropertyChanged Raises the PropertyChanged event.

See Also

CommandItem Class | Wimark.Controls Namespace