| Visual Basic (Declaration) | |
|---|---|
<ApplyToDesignerAttribute(True)> <LocalizableAttribute(True)> <AmbientValueAttribute()> <CategoryAttribute("Appearance")> <DescriptionAttribute("The height of the row in pixels.")> Public Property Height As Integer | |
| C# | |
|---|---|
[ApplyToDesignerAttribute(true)] [LocalizableAttribute(true)] [AmbientValueAttribute()] [CategoryAttribute("Appearance")] [DescriptionAttribute("The height of the row in pixels.")] public int Height {get; set;} | |
Return Value
A value representing the height of the row in pixels. Must be greater than zero.In order for a row to have a fixed height, the Row.MinHeight and Row.MaxHeight properties must be set to the same value.
To prevent the row from being resized at run-time, the RowSelectorPane.AllowRowResize property must be set to false.
To reset the value of the Height property to its default value, Row.DefaultHeight, the ResetHeight method must be called.
Target Platforms: Windows 2000 Service Pack 3; Windows 98; Windows 98 Second Edition; Windows ME; Windows Server 2003; Windows Vista Business; Windows Vista Business 64-bit edition; Windows Vista Enterprise; Windows Vista Enterprise 64-bit edition; Windows Vista Home Basic; Windows Vista Home Basic 64-bit edition; Windows Vista Home Premium; Windows Vista Home Premium 64-bit edition; Windows Vista Starter; Windows Vista Ultimate; Windows Vista Ultimate 64-bit edition; Windows XP Service Pack 2
Supported Frameworks: Microsoft .NET Framework version 2.0; Microsoft .NET Framework version 3.0