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.v24.2.dll
NuGet Package: DevExpress.Wpf.Ribbon
#Declaration
public SelectedPageOnMerging SelectedPageOnMerging { get; set; }
#Property Value
Type | Description |
---|---|
Selected |
A Selected |
Available values:
Name | Description |
---|---|
Parent |
Specifies that the parent Ribbon |
Selected |
Specifies that the child Ribbon |
#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 Selected
See the MDI Ribbon Merging topic to learn more.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedPageOnMerging property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.