Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OptionsMinimizing.AllowMinimizeMode Property

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

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: 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 Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

#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