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

XtraMdiTabPageCollection.IndexOf(IXtraTabPage) Method

Returns the specified page’s position within the collection.

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public int IndexOf(
    IXtraTabPage page
)

Parameters

Name Type Description
page DevExpress.XtraTab.IXtraTabPage

An object which implements the DevExpress.XtraTab.IXtraTabPage interface.

Returns

Type Description
Int32

An integer value representing the specified page’s zero-based index. -1 if the collection doesn’t contain the specified page.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IndexOf(IXtraTabPage) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also