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

RibbonControl.GetFirstSelectablePage() Method

Returns the first selectable RibbonPage contained within the current RibbonControl.

Namespace: DevExpress.Xpf.Ribbon

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

NuGet Package: DevExpress.Wpf.Ribbon

#Declaration

public RibbonPage GetFirstSelectablePage()

#Returns

Type Description
RibbonPage

A RibbonPage object that is the first selectable page within the parent ribbon control.

#Remarks

The GetFirstSelectablePage method gets the first selectable page within a parent RibbonControl. This can be useful when operating contextual RibbonPageCategorys or performing actions based on the RibbonControllerCollection‘s methods (see the RibbonControl.Controllers topic). To obtain the first selectable page within a specific page category, use the RibbonPageCategoryBase.GetFirstSelectablePage method instead.

You can check if a page is currently selectable using the RibbonPage.IsSelectable property.

See Also