Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TileNavPane.SelectedElement Property

Gets or sets the NavElement currently selected in the TileNavPane.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public NavElement SelectedElement { get; set; }

#Property Value

Type Description
NavElement

The NavElement object which is currently selected in the TileNavPane.

#Remarks

An end-user can select a NavElement by clicking a tile in a drop-down tile bar. A NavElement currently selected in the TileNavPane is displayed as the last link of the breadcrumbs navigation aid.

Read the SelectedElement property to get the currently selected NavElement. If no element is selected in the TileNavPane the SelectedElement property returns null (Nothing in VB). You can also use the SelectedElement property to select the NavElement in code.

In the following picture, the NavElement captioned Esitmated revenue is the TileNavPane‘s currently selected element.

TileNavPane_SelectedElement

You can also respond to changing the selected element by handling the TileNavPane.SelectedElementChanging and TileNavPane.SelectedElementChanged events.

See Also