Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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