Back to Devexpress

OptionsMinimizing.ElementHeight Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-optionsminimizing-74ee101b.md

latest2.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(-1)]
public int ElementHeight { get; set; }
vb
<DefaultValue(-1)>
Public Property ElementHeight As Integer

Property Value

TypeDefaultDescription
Int32-1

An integer value that specifies the minimum height.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ElementHeight
AccordionControl

.OptionsMinimizing .ElementHeight

|

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

Height

ElementHeight

GroupHeight

ItemHeight

OptionsMinimizing Class

OptionsMinimizing Members

DevExpress.XtraBars.Navigation Namespace