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.v24.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 image below illustrates the RibbonControl in the Classic and the Simplified layouts.

Ribbon - 2019 style

The CommandLayoutChanged event raises when the CommandLayout property value changes.

See Also