Skip to main content
A newer version of this page is available. .

BaseEdit.CalcMinHeight() Method

Calculates the minumum height of the editor.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public virtual int CalcMinHeight()

Returns

Type Description
Int32

The minimum height of the editor, in pixels.

Remarks

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