Skip to main content
Bar

BarItem.PerformClick(BarItemLink) Method

Fires the ItemClick events for the current bar item and its link.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual void PerformClick(
    BarItemLink link
)

Parameters

Name Type Description
link BarItemLink

A BarItemLink object which represents one of the item’s links.

Remarks

The PerformClick method fires the ItemClick events for the current bar item. In bars, the BarItem.ItemClick and BarManager.ItemClick events are fired. In a RibbonControl, the BarItem.ItemClick and RibbonControl.ItemClick events are fired.

The bar item and bar item link objects are passed as parameters to the ItemClick events.

See Also