windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-32165b63.md
Gets or sets the RibbonControl‘s command layout: single-row Simplified or default Classic.
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(CommandLayout.Classic)]
[DXCategory("Layout")]
[XtraSerializableProperty]
public CommandLayout CommandLayout { get; set; }
<DXCategory("Layout")>
<DefaultValue(CommandLayout.Classic)>
<XtraSerializableProperty>
Public Property CommandLayout As CommandLayout
| Type | Default | Description |
|---|---|---|
| DevExpress.XtraBars.Ribbon.CommandLayout | Classic |
An enumerator value that specifies the RibbonControl‘s command layout.
|
The following layout options are available:
ClassicThe RibbonControl displays its command items in multiple rows with typical page-group layouts.
SimplifiedThe RibbonControl is reduced to a single row of commands. Based on available width, the Simplified layout may hide command captions and move commands to a drop-down menu.
The CommandLayoutChanged event fires when the CommandLayout property value changes.
See Also