Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarListItem.ListItemClick Event

Enables you to provide responses to list item clicks.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public event ListItemClickEventHandler ListItemClick

#Event Data

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

Property Description
Index Gets the index of the clicked list item.
Item Gets the bar item whose list item was clicked.

#Remarks

The ListItemClick event fires in response to a click on a list item. The event parameter’s ListItemClickEventArgs.Item property represents the bar item whose list item was clicked. The ListItemClickEventArgs.Index property allows you to identify the clicked list item (its position within the bar item’s BarListItem.Strings collection).

See Also