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
public SelectedPageOnCategoryShowing SelectedPageOnCategoryShowing { get; set; }
#Property Value
Type | Description |
---|---|
Selected |
A Ribbon |
Available values:
Name | Description |
---|---|
First |
The first Ribbon |
None | The target Ribbon |
#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.