Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarOptions.MinHeight Property

Gets or sets the minimum height this Bar occupies.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int MinHeight { get; set; }

#Property Value

Type Default Description
Int32 0

An Int32 value that is the minimum height this Bar occupies.

#Property Paths

You can access this nested property as listed below:

Object Type Path to MinHeight
Bar
.OptionsBar .MinHeight

#Remarks

By default, the height of a Bar is specified by the height of BarItemLinks within it. You can use the MinHeight property to explicitly set the minimum bar height. The figure below illustrates a bar whose height is manually set to 70 pixels.

XtraBars - Bar MinHeight

See Also