BaseEdit.CalcMinHeight() Method

Calculates the minumum height of the editor.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public virtual int CalcMinHeight()
Public Overridable Function CalcMinHeight As Integer

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