ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / DataGridRow Class / Height Property

In This Topic
    Height Property
    In This Topic
    Gets or sets the height of this row.
    Syntax
    'Declaration
     
    
    Public Property Height As DataGridLength
    public DataGridLength Height {get; set;}
    Remarks

    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.

    See Also