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.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Accordion |
Inline | An Accordion |
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 Dock |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Display |
---|---|
Accordion |
|
#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.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DisplayMode property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.