RibbonPageCategory.SelectedPageOnCategoryShowing Property
Gets or sets which RibbonPage will be initially selected on the current RibbonPageCategory display. This is a dependency property.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.2.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Property Value
Type | Description |
---|---|
SelectedPageOnCategoryShowing | A RibbonPage object that will be initially selected on the current RibbonPageCategory display. |
Available values:
Name | Description |
---|---|
FirstPage | The first RibbonPage within a RibbonPageCategory will be selected. |
None | The target RibbonPageCategory will be displayed with all its RibbonPages unselected. |
Remarks
A RibbonControl can contain a default page category (see RibbonDefaultPageCategory) and custom categories with contextual pages. When a condition required for a RibbonPageCategory to be displayed occurs, pages that belong to this category become visible. Using the SelectedPageOnCategoryShowing property, you can explicitly set which page should be initially selected every time this scenario occurs.