Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

See Also