'Declaration
Public Property Height As DataGridLength
public DataGridLength Height {get; set;}
'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.