Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RibbonPage.PageIndex Property

Gets the page’s index within the page collection of the category to which this page belongs.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Description
Int32

An integer value that specifies the zero-based index of the current page within the page collection of the category to which this page belongs. -1 if the page doesn’t belong to any category.

#Remarks

You can associate a page with a specific category by adding it to the RibbonPageCategory.Pages collection. The PageIndex property returns the index of the current page within this collection.

Use the RibbonPage.Category property to identify the category to which the page belongs.

See Also