C1.WPF.DataGrid Namespace > DataGridRow Class : Height Property |
'Declaration
Public Property Height As DataGridLength
public DataGridLength Height {get; set;}
DataGridLength supports four different modes but only DataGridUnitType.Pixel and DataGridUnitType.Auto are supported for rows.
Type | Description |
---|---|
Pixel | The height of the row will be the same as the amount of pixels specified. |
Auto | The height of the row will be determined by the content of the cells in the row. |
Notice MinHeight and MaxHeight has precedence over this property, that mean that if you set Height=100 and MinHeight=110 the actual value will be 110.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2