Skip to main content

NavElement.ElementClick Event

Occurs when the current NavElement is clicked.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.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