Skip to main content

AccordionOptionsHamburgerMenu.DisplayMode Property

Gets or sets how the hamburger menu is displayed in the collapsed/expanded state: a toggle button/overlays the content, a side bar/overlays the content, or a side bar/in-line with the content.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(AccordionControlDisplayMode.Inline)]
public AccordionControlDisplayMode DisplayMode { get; set; }

Property Value

Type Default Description
AccordionControlDisplayMode Inline

An AccordionControlDisplayMode enumeration value, such as Minimal, Overlay or Inline, that specifies the display mode.

Available values:

Name Description
Inline

The Hamburger Menu is displayed as a side bar when collapsed, and in-line with the form content when expanded.

Overlay

The Hamburger Menu is displayed as a side bar when collapsed, and in an overlay above the content area when expanded.

Minimal

In the collapsed state, the Hamburger Menu is rendered as a small Hamburger button (when DockStyle is Left, Right or None), or as a top-aligned bar containing the Hamburger button (when DockStyle is Top). In the expanded state, the menu is shown in an overlay above the content area.

Property Paths

You can access this nested property as listed below:

Object Type Path to DisplayMode
AccordionControl
.OptionsHamburgerMenu.DisplayMode

Remarks

The DisplayMode property specifies how the hamburger menu is displayed in the collapsed/expanded state:

  • Minimal — a toggle button/overlays the content;
  • Overlay — a side bar/overlays the content;
  • Inline — a side bar/in-line with the content.

To specify the state: expanded or collapsed — use the AccordionControl.OptionsMinimizing.State property (see OptionsMinimizing.State). See Hamburger Menu View Style for more information on the Hamburger view.

See Also