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.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core
Declaration
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:
- The Command is executed.
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.
See Also