windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordionoptionshamburgermenu.md
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.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(AccordionControlDisplayMode.Inline)]
public AccordionControlDisplayMode DisplayMode { get; set; }
<DefaultValue(AccordionControlDisplayMode.Inline)>
Public Property DisplayMode As AccordionControlDisplayMode
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to DisplayMode |
|---|---|
| AccordionControl |
.OptionsHamburgerMenu .DisplayMode
|
The DisplayMode property specifies how the hamburger menu is displayed in the collapsed/expanded state:
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
AccordionOptionsHamburgerMenu Class