A newer version of this page is available. Switch to the current version.

BaseEdit.CalcMinHeight() Method

Calculates the minumum height of the editor.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll


public virtual int CalcMinHeight()


Type Description

The minimum height of the editor, in pixels.


This method can be used to calculate an editor's minimum height even if the editor hasn't been positioned within a form. It takes into account the values of the current font, border style and look and feel settings to calculate the minimum height.

See Also