Back to Devexpress

BarOptions.MinHeight Property

windowsforms-devexpress-dot-xtrabars-dot-baroptions-ce6501d9.md

latest1.9 KB
Original Source

BarOptions.MinHeight Property

Gets or sets the minimum height this Bar occupies.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int MinHeight { get; set; }
vb
<XtraSerializableProperty>
<DefaultValue(0)>
Public Overridable Property MinHeight As Integer

Property Value

TypeDefaultDescription
Int320

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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.

See Also

BarOptions Class

BarOptions Members

DevExpress.XtraBars Namespace