Skip to main content
Bar

BarOptions.MinHeight Property

Gets or sets the minimum height this Bar occupies.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.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