BarItem.PerformClick() Method
Imitates clicking on the item’s link, and so invokes the item’s functionality.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Remarks
The PerformClick method imitates clicking on the item. For a BarButtonItem object, the following occurs:
- A command assigned to the BarItem.Command property is invoked.
- The BarItem.ItemClick and BarManager.ItemClick events fire.
For other types of bar items, other relevant events may fire. For instance, the BarCheckItem.CheckedChanged event fires for a BarCheckItem item.
See Also