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

BackstageViewControl.GetTabIndex(BackstageTabItem) Method

Gets the index of a BackstageTabItem in the BackstageViewControl.Tabs collection.

Namespace: DevExpress.Xpf.Ribbon

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Ribbon, DevExpress.Wpf.Navigation

Declaration

public int GetTabIndex(
    BackstageTabItem tabItem
)

Parameters

Name Type Description
tabItem BackstageTabItem

A BackstageTabItem whose index is to be obtained.

Returns

Type Description
Int32

An integer value that specifies the index of a BackstageTabItem in the BackstageViewControl.Tabs collection.

Remarks

Refer to the BackstageViewControl.GetTabFromIndex topic to learn more.

See Also