Skip to main content
A newer version of this page is available. .
Bar

BarItem.PerformClick(BarItemLink) Method

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

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