Back to Devexpress

BarItem.PerformClick(BarItemLink) Method

windowsforms-devexpress-dot-xtrabars-dot-baritem-dot-performclick-x28-devexpress-dot-xtrabars-dot-baritemlink-x29.md

latest2.0 KB
Original Source

BarItem.PerformClick(BarItemLink) Method

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual void PerformClick(
    BarItemLink link
)
vb
Public Overridable Sub PerformClick(
    link As BarItemLink
)

Parameters

NameTypeDescription
linkBarItemLink

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

BarItem.ItemClick

BarManager.ItemClick

PerformClick

BarItem Class

BarItem Members

DevExpress.XtraBars Namespace