Back to Devexpress

BaseEdit.CalcMinHeight() Method

windowsforms-devexpress-dot-xtraeditors-dot-baseedit-d8c1778e.md

latest1.3 KB
Original Source

BaseEdit.CalcMinHeight() Method

Calculates the minumum height of the editor.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Returns

TypeDescription
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

BaseEdit Class

BaseEdit Members

DevExpress.XtraEditors Namespace