Skip to main content
A newer version of this page is available. .

OptionsMinimizing.AllowMinimizeMode Property

Gets or sets whether to show the collapse (hamburger) button.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowMinimizeMode { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

True, if it is allowed to minimize the accordion control with the collapse button; False, if not; If Default, the mode depends on the view type.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowMinimizeMode
AccordionControl
.OptionsMinimizing .AllowMinimizeMode

Remarks

The AllowMinimizeMode property specifies whether to show the collapse (hamburger) button. The collapse button differs in the views:

  • Hamburger View - the hamburger button that is always visible

    image

  • Classic View - a side button that appears when the mouse points a menu edge

    image

    Use the MinimizeButtonMode property to specify whether to show the button at the left or right menu edge.

If the property is set to Default, the buton visibility depends on the view type - the Hamburger View shows the collapse button, the Classic View does not. Use AllowMinimizeMode property to show or hide the button. Even if users are not allowed to collapse the menu with the button, you can still do it using the State property.

See Also