ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGrid Class / RowHeight Property

In This Topic
    RowHeight Property
    In This Topic
    Gets or sets the row height for all the data rows in the C1DataGrid.
    Syntax
    'Declaration
     
    
    Public Property RowHeight As DataGridLength
    public DataGridLength RowHeight {get; set;}
    Remarks

    Only Pixel and Auto modes are allowed. If the value to be set is of type pixel, the amount of pixels must be specified, If the value is of type Auto, the height of the row will be determined by the content of the cells of each row.

    If a row has the property Height set, the layout will take the value set in the row over the one in the data grid.

    Notice MinRowHeight and MaxRowHeight has precedence over this property, that mean that if you set RowHeight=100 and MinRowHeight=110 the actual value will be 110.

    See Also