Skip to main content

BaseEdit.CalcMinHeight() Method

Calculates the minumum height of the editor.

Namespace: DevExpress.XtraEditors

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