Back to Devexpress

RibbonControl.GetFirstSelectablePage() Method

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribboncontrol-0e857c36.md

latest2.1 KB
Original Source

RibbonControl.GetFirstSelectablePage() Method

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

Declaration

csharp
public RibbonPage GetFirstSelectablePage()
vb
Public Function GetFirstSelectablePage As RibbonPage

Returns

TypeDescription
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

GetFirstSelectablePage()

RibbonControl Class

RibbonControl Members

DevExpress.Xpf.Ribbon Namespace