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

TileNavPane.SelectedElement Property

Gets or sets the NavElement currently selected in the TileNavPane.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.2.dll

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