NavElement.ElementClick Event

Occurs when the current NavElement is clicked.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Behavior")]
public event NavElementClickEventHandler ElementClick
<DXCategory("Behavior")>
Public Event ElementClick As NavElementClickEventHandler

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