Back to Devexpress

RibbonControl.CommandLayout Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-32165b63.md

latest2.4 KB
Original Source

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.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(CommandLayout.Classic)]
[DXCategory("Layout")]
[XtraSerializableProperty]
public CommandLayout CommandLayout { get; set; }
vb
<DXCategory("Layout")>
<DefaultValue(CommandLayout.Classic)>
<XtraSerializableProperty>
Public Property CommandLayout As CommandLayout

Property Value

TypeDefaultDescription
DevExpress.XtraBars.Ribbon.CommandLayoutClassic

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

|

Remarks

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

Ribbon Styles

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace