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

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.v19.2.dll

Declaration

[Browsable(false)]
public int SelectedItemIndex { get; }

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