Skip to main content

RibbonControl.CommandLayout Property

Gets or sets the RibbonControl‘s command layout: single-row Simplified or default Classic.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v25.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(CommandLayout.Classic)]
[DXCategory("Layout")]
[XtraSerializableProperty]
public CommandLayout CommandLayout { get; set; }

Property Value

Type Default Description
DevExpress.XtraBars.Ribbon.CommandLayout Classic

An enumerator value that specifies the RibbonControl‘s command layout.

Remarks

The following layout options are available:

Classic
The RibbonControl displays its command items in multiple rows with typical page-group layouts.

WinForms Ribbon - Classic Command Layout, DevExpress

Simplified
The 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.

WinForms Ribbon - Simplified Command Layout, DevExpress

The CommandLayoutChanged event fires when the CommandLayout property value changes.

See Also