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

BarEditItem.EditHeight Property

Specifies the current editor’s height.

Namespace: DevExpress.XtraBars

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