BarItem.Command Property
In This Article
Gets or sets the command to invoke when the bar item is clicked. This is a dependency property.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
[Localizability(LocalizationCategory.NeverLocalize)]
[Bindable(true)]
public ICommand Command { get; set; }
#Property Value
Type | Description |
---|---|
ICommand | The command to invoke when the bar item is clicked. |
#Remarks
When invoking the bar item's functionality, the command is executed first. Then, the BarItem.ItemClick and BarManager.ItemClick events fire.
See Also