RibbonControl.GetFirstSelectablePage() Method

Returns the first selectable RibbonPage contained within the current RibbonControl.

Namespace: DevExpress.Xpf.Ribbon

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


public RibbonPage GetFirstSelectablePage()
Public Function GetFirstSelectablePage As RibbonPage


Type Description

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


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