Skip to main content

AccordionControl.GroupHeight Property

Gets or sets the minimum header height for all groups (elements whose Style is set to Group) in the control.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(0)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public int GroupHeight { get; set; }

Property Value

Type Default Description
Int32 0

An integer value that specifies the minimum height.

Remarks

The header height corresponds to the content — image, text, context buttons, embedded control, and the current skin (paddings, margins, etc.).

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