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.v20.1.dll

Declaration

[DXCategory("Appearance")]
[XtraSerializableProperty]
[DefaultValue(0)]
public int GroupHeight { get; set; }
<DXCategory("Appearance")>
<XtraSerializableProperty>
<DefaultValue(0)>
Public Property GroupHeight As Integer

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, 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