DocumentGroup.SelectedItemIndex Property

Gets the index of the currently selected document within the DocumentGroup.Items collection.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

[Browsable(false)]
public int SelectedItemIndex { get; }
<Browsable(False)>
Public ReadOnly Property SelectedItemIndex As Integer

Property Value

Type Description
Int32

An integer value that specifies the index of the currently selected document within the DocumentGroup.Items collection.

Remarks

Documents within a TabbedView are combined into DocumentGroups. Each group has its own selected document. The SelectedItemIndex property returns the index of the currently selected document within the DocumentGroup.Items collection.

To get the currently selected document, see DocumentGroup.SelectedDocument. To select a document, use the DocumentGroup.SetSelected method.

See Also