Skip to main content
A newer version of this page is available. .

Command.CommandSourceType Property

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

Namespace: DevExpress.Utils.Commands

Assembly: DevExpress.Data.v19.1.dll

Declaration

public virtual CommandSourceType CommandSourceType { get; set; }

Property Value

Type Description
CommandSourceType

A CommandSourceType enumeration value, specifying the object type.

Available values:

Name Description
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