wpf-devexpress-dot-xpf-dot-ribbon-dot-ribboncontrol-0e857c36.md
Returns the first selectable RibbonPage contained within the current RibbonControl.
Namespace : DevExpress.Xpf.Ribbon
Assembly : DevExpress.Xpf.Ribbon.v25.2.dll
NuGet Package : DevExpress.Wpf.Ribbon
public RibbonPage GetFirstSelectablePage()
Public Function GetFirstSelectablePage As RibbonPage
| Type | Description |
|---|---|
| RibbonPage |
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