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.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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