Back to Devexpress

RibbonPageCategory.SelectedPageOnCategoryShowing Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribbonpagecategory.md

latest2.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public SelectedPageOnCategoryShowing SelectedPageOnCategoryShowing { get; set; }
vb
Public Property SelectedPageOnCategoryShowing As SelectedPageOnCategoryShowing

Property Value

TypeDescription
SelectedPageOnCategoryShowing

A RibbonPage object that will be initially selected on the current RibbonPageCategory display.

|

Available values:

NameDescription
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.

See Also

Ribbon Page Categories and Contextual Pages

RibbonPageCategory Class

RibbonPageCategory Members

DevExpress.Xpf.Ribbon Namespace