ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid.Excel Namespace / ExcelSaveOptions Class / KeepRowHeights Property

In This Topic
    KeepRowHeights Property
    In This Topic
    Gets or sets a value indicating whether row height should be kept in a saved file.
    Syntax
    'Declaration
     
    
    Public Property KeepRowHeights As Boolean
    public bool KeepRowHeights {get; set;}
    Remarks
    If this property is set to True then row heights in a saved Excel file will be set to the C1.WPF.DataGrid.C1DataGrid.RowHeight property value, in case if the latter is assigned with an absolute value; otherwise, rows will have their default heights. The default value is false.
    See Also