All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

CommandButtonInfo.Command Property

Gets or sets the command to invoke when the button item is clicked.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public ICommand Command { get; set; }
Public Property Command As ICommand

Property Value

Type Description
ICommand

The ICommand object to invoke when the gallery item is clicked.

Remarks

When you click the button, the following events occur:

  1. The Command is executed.
  2. The CommandButtonInfo.Click event fires.

    NOTE

    You can optionally specify the object on which to execute the command with the CommandButtonInfo.CommandTarget property or set additional command parameters with the CommandButtonInfo.CommandParameter property.

Implements

See Also