Back to Devexpress

Command.CommandSourceType Property

corelibraries-devexpress-dot-utils-dot-commands-dot-command-682a623a.md

latest1.4 KB
Original Source

Command.CommandSourceType Property

Gets or sets the type of the object which invokes the command.

Namespace : DevExpress.Utils.Commands

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public virtual CommandSourceType CommandSourceType { get; set; }
vb
Public Overridable Property CommandSourceType As CommandSourceType

Property Value

TypeDescription
CommandSourceType

A CommandSourceType enumeration value, specifying the object type.

|

Available values:

NameDescription
Unknown

The type of the command source is not known.

| | Menu |

The command is issued from the menu.

| | Keyboard |

The command is issued from the keyboard.

| | Mouse |

The command is issued using a mouse.

|

See Also

Command Class

Command Members

DevExpress.Utils.Commands Namespace