Skip to main content
A newer version of this page is available. .

TileNavPane.SelectedElementChanging Event

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

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DXCategory("Behavior")]
public event TileNavPaneSelectedElementEventHandler SelectedElementChanging

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