TileNavPane.SelectedElementChanging Event

Occurs when the TileNavPane.SelectedElement is about to be changed.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Behavior")]
public event TileNavPaneSelectedElementEventHandler SelectedElementChanging
<DXCategory("Behavior")>
Public Event SelectedElementChanging As TileNavPaneSelectedElementEventHandler

Event Data

The SelectedElementChanging event's data class is DevExpress.XtraBars.Navigation.TileNavPaneSelectedElementEventArgs.

Remarks

The SelectedElementChanging event allows you to cancel changing the selected element (TileNavPane.SelectedElement). To do this, set the TileNavPaneSelectedElementEventArgs.Cancel property to true.

You can also obtain the previously and newly selected navigation element with the TileNavPaneSelectedElementEventArgs.PreviousElement and TileNavPaneSelectedElementEventArgs.Element event parameters, respectively.

The TileNavPane.SelectedElementChanged event is raised after the TileNavPane.SelectedElement is changed.

See Also