Skip to main content

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

NavElement.ElementClick Event

Occurs when the current NavElement is clicked.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Behavior")]
public event NavElementClickEventHandler ElementClick

#Event Data

The ElementClick event's data class is DevExpress.XtraBars.Navigation.NavElementEventArgs.

#Remarks

Handle the ElementClick event to respond to a NavElement click.

The NavElementEventArgs.IsTile property specifies whether the clicked NavElement is a tile displayed in a drop-down tile bar.

To handle clicks on the current navigation element rendered as a tile in the TileNavPane‘s drop-down tile bar, handle the TileNavElement.TileClick or TileNavPane.TileClick event.

See Also