Skip to main content

AccordionControlElementBase.Height Property

Gets or sets the minimum header height.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
Int32 0

A 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