BarEditItem.EditHeight Property

Specifies the current editor’s height.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.2.dll


public virtual int EditHeight { get; set; }

Property Value

Type Default Description


The editor’s height.


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