Gets the preferred height for a text box.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The size returned by this property is based on the font height and border style of the text box. You can use this property to determine the appropriate size of the text box to ensure that text is properly displayed in the control. The value returned by this property is in pixels.
The value of represents the minimum height the text box must have in order to display a single line of text without clipping the text on the top or bottom. This value is the same whether the Multiline property is set to true or false.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.