RowStyle.Height Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the height of a row.
public:
property float Height { float get(); void set(float value); };
public float Height { get; set; }
member this.Height : single with get, set
Public Property Height As Single
Property Value
The preferred height of a row in pixels or percentage of the TableLayoutPanel, depending on the SizeType property.
Exceptions
The value is less than 0 when setting this property.
Remarks
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 |
---|---|
Absolute | The preferred row height in pixels (fractional portion ignored). |
AutoSize | Not applicable - the Height property is ignored. |
Percent | The preferred row height as a percentage of the containing table. |
Applies to
See also
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.