Skip to main content
Bar

BarEditItem.EditHeight Property

Specifies the current editor’s height.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(-1)]
public virtual int EditHeight { get; set; }

Property Value

Type Default Description
Int32 -1

The editor’s height.

Remarks

If this property value is -1, the height of a specific editor is calculated based on the editor’s type. If a specific bar contains several editors with different height settings, then the height of this bar is changed to match the editor with the largest height. The following image demonstrates several BarEditItems with different Height property settings in a single bar:

Editors with Different Height

If you set a custom height for editors within a RibbonStatusBar, you’ll probably also need to enable the RibbonStatusBar.AutoHeight property. This allows you to display the contents of the editors in their entirety.

See Also