Skip to main content

RibbonControl.SelectedPageOnMerging Property

Gets or sets which RibbonControl's selected page will be selected after ribbon controls are merged. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v14.2.dll

#Declaration

public SelectedPageOnMerging SelectedPageOnMerging { get; set; }

#Property Value

Type Description
SelectedPageOnMerging

A SelectedPageOnMerging enumerator value indicating which RibbonControl's selected page will be selected after ribbon controls are merged.

#Remarks

When merging RibbonControls, initially selected RibbonPages with different captions may result in a situation where it is uncertain as to which page should be selected within the resulting RibbonControl. To specify it manually, use the child Ribbon Control's SelectedPageOnMerging property. Depending on the SelectedPageOnMerging property value, the resulting RibbonControl can select either a parent Ribbon Control's selected page, or the child's page.

NOTE

The SelectedPageOnMerging property makes sense when applied to the child RibbonControl only and has no effect on the parent RibbonControl.

See the Merging Overview topic to learn more.

See Also