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

In This Topic
    KeepColumnWidths Property
    In This Topic
    Gets or sets a value indicating whether column widths should be kept in a saved file.
    Syntax
    'Declaration
     
    
    Public Property KeepColumnWidths As Boolean
    public bool KeepColumnWidths {get; set;}
    Remarks
    If this property is set to True then column widths in a saved Excel file will be the same as in the grid now; otherwise, column will have their default widths. The default value is true.
    See Also