Back to Devexpress

OptionsMinimizing.AllowMinimizeMode Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-optionsminimizing-71dcd69d.md

latest2.9 KB
Original Source

OptionsMinimizing.AllowMinimizeMode Property

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

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowMinimizeMode { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
Public Property AllowMinimizeMode As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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:

NameDescriptionReturn 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 TypePath 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

  • Classic View - a side button that appears when the mouse points a 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

OptionsMinimizing

ViewType

OptionsMinimizing Class

OptionsMinimizing Members

DevExpress.XtraBars.Navigation Namespace