Skip to main content

Command.CommandSourceType Property

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

Namespace: DevExpress.Utils.Commands

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

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