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

OptionsMinimizing.ElementHeight Property

Gets or sets the minimum header height for all elements in the control in the collapsed state.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DefaultValue(-1)]
public int ElementHeight { get; set; }

Property Value

Type Default Description
Int32 -1

An integer value that specifies the minimum height.

Property Paths

You can access this nested property as listed below:

Object Type Path to ElementHeight
AccordionControl
.OptionsMinimizing.ElementHeight

Remarks

The header height corresponds to the content — image, text, context buttons, or embedded control.

You can use the following properties to specify the minimum header height:

  • ItemHeight — for all items in the expanded state
  • GroupHeight — for all groups in the expanded state
  • ElementHeight — for all items and groups in the collapsed state

The header height is never less than the specified minimum value, even if the actual height of the content is less.

The Height property allows you to override these minimal values for a particular element in the expanded and collapsed states.

See Also