RibbonControl.SelectedPageOnMerging Property

Gets or sets which RibbonControl's selected page will be selected after ribbon controls are merged.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v20.1.dll

Declaration

public SelectedPageOnMerging SelectedPageOnMerging { get; set; }
Public Property SelectedPageOnMerging As SelectedPageOnMerging

Property Value

Type Description
SelectedPageOnMerging

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

Remarks

RibbonControls within a parent and a child panels can initially have RibbonPages with different captions selected. In this case, merging these ribbons results in a situation where it is uncertain as to which page should be selected within the merged 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 only when applied to the child RibbonControl and has no effect on the parent RibbonControl.

See the MDI Ribbon Merging topic to learn more.

See Also