Back to Devexpress

Command Members

corelibraries-devexpress-dot-utils-dot-commands-dot-command-dot-underscore-members.md

latest4.3 KB
Original Source

Command Members

Represents a command.

Properties

NameDescription
CommandSourceTypeGets or sets the type of the object which invokes the command.
DescriptionGets the text description of a command.
HideDisabledGets or sets whether the object to which the command is attached is hidden, if the command is disabled.
ImageGets an image associated with the command.
KeyTipGets a key tip associated with the command.
LargeImageGets a larger image associated with the command.
MenuCaptionGest the menu caption associated with the current command.
ShowsModalDialogIndicates whether a command invokes a modal dialog when executing.
SupportsImage
SvgImage

Methods

NameDescription
CanExecute()Determines whether the command can execute in its current state.
CreateDefaultCommandUIState()Creates an object defining the command state for the current command.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
Execute()Executes the command on the current command target.
ForceExecute(ICommandUIState)Performs a command action regardless of a command state.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.
UpdateUIState(ICommandUIState)Updates the command state.

See Also

Command Class

DevExpress.Utils.Commands Namespace