Back to Devexpress

RibbonControl.AllowMdiChildButtons Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-3c337945.md

latest2.2 KB
Original Source

RibbonControl.AllowMdiChildButtons Property

Gets or sets whether MDI buttons for the current RibbonControl‘s child Ribbons are enabled.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public bool AllowMdiChildButtons { get; set; }
vb
<DefaultValue(True)>
<DXCategory("Behavior")>
<XtraSerializableProperty>
Public Property AllowMdiChildButtons As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if MDI buttons for the current RibbonControl‘s child Ribbons are enabled; otherwise, false.

|

Remarks

RibbonControls can be merged in MDI interfaces. If the AllowMdiChildButtons property is true , both parent and child RibbonControls display their MDI buttons (Minimize, Restore and Close). Setting the AllowMdiChildButtons property to false prevents child Ribbon Controls from displaying these buttons:

See the Ribbon Merging topic to learn more.

See Also

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace