Skip to main content

BarManager.ItemPress Event

Fires immediately after any of the links associated with the Bar Manager has been pressed.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public event ItemClickEventHandler ItemPress

Event Data

The ItemPress event's data class is ItemClickEventArgs. The following properties provide information specific to this event:

Property Description
Item Gets the BarItem whose link was clicked.
Link Gets the clicked BarItemLink.


Write an ItemPress event handler to perform specific actions each time any bar item link has been pressed. This event fires before the BarManager.ItemClick event, since the last is invoked after the mouse button has been released.

You can also use the BarItem.ItemPress event of individual items to respond to pressing links associated with them.

See Also