TileNavPane.SelectedElement Property

Gets or sets the NavElement currently selected in the TileNavPane.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
public NavElement SelectedElement { get; set; }
<Browsable(False)>
Public Property SelectedElement As NavElement

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