Back to Devexpress

BackstageViewControl.GetTabFromIndex(Int32) Method

wpf-devexpress-dot-xpf-dot-ribbon-dot-backstageviewcontrol-dot-gettabfromindex-x28-system-dot-int32-x29.md

latest2.5 KB
Original Source

BackstageViewControl.GetTabFromIndex(Int32) Method

Gets a BackstageTabItem by its index.

Namespace : DevExpress.Xpf.Ribbon

Assembly : DevExpress.Xpf.Ribbon.v25.2.dll

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public BackstageTabItem GetTabFromIndex(
    int tabIndex
)
vb
Public Function GetTabFromIndex(
    tabIndex As Integer
) As BackstageTabItem

Parameters

NameTypeDescription
tabIndexInt32

An integer value that specifies the required tab item’s index.

|

Returns

TypeDescription
BackstageTabItem

A BackstageTabItem at the specified index.

|

Remarks

All BackstageTabItems can be accessed via the BackstageViewControl.Tabs collection. Their total count is specified by the BackstageViewControl.TabCount property. You can access an individual tab item using this collection or the GetTabFromIndex method. The method’s tabIndex parameter should specify a value in the range from 0 to TabCount-1. To get a tab item’s index, use the BackstageViewControl.GetTabIndex method.

See Also

GetTabIndex(BackstageTabItem)

Tabs

SelectedTab

SelectedTabIndex

IsSelected

BackstageViewControl Class

BackstageViewControl Members

DevExpress.Xpf.Ribbon Namespace