Back to Devexpress

NavElement.ElementClick Event

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navelement.md

latest2.0 KB
Original Source

NavElement.ElementClick Event

Occurs when the current NavElement is clicked.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
public event NavElementClickEventHandler ElementClick
vb
<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

ElementClick

TileClick

NavElement Class

NavElement Members

DevExpress.XtraBars.Navigation Namespace