Skip to main content

ButtonInfo.Command Property

Gets or sets a command associated with the button. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v14.2.dll

Declaration

[Localizability(LocalizationCategory.NeverLocalize)]
public ICommand Command { get; set; }
<Localizability(LocalizationCategory.NeverLocalize)>
Public Property Command As ICommand

Property Value

Type Description
ICommand

An object implementing the ICommand interface that represents a command associated with the button.

Remarks

You can also pass a parameter to the command using the ButtonInfo.CommandParameter property.

See Also