RowStyle::Height Property
.NET Framework (current version)
Gets or sets the height of a row.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System::SingleThe preferred height of a row in pixels or percentage of the TableLayoutPanel, depending on the SizeType property.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is less than 0 when setting this property. |
The Height property will take on different meanings depending on the SizeType property. The following table describes the possible meanings of Height.
SizeType value | Height interpretation |
|---|---|
The preferred row height in pixels (fractional portion ignored). | |
Not applicable—the Height property is ignored. | |
The preferred row height as a percentage of the containing table. |
.NET Framework
Available since 2.0
Available since 2.0
Show: