Class ExcelExportingOptions
Class which is used to set the ExportingOptions. user can pass this class as an argument to the ExportToExcelMethod.
Inheritance
System.Object
ExcelExportingOptions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Controls.Grid.Converter
Assembly: Syncfusion.GridConverter.Wpf.dll
Syntax
public class ExcelExportingOptions
Constructors
ExcelExportingOptions()
Declaration
public ExcelExportingOptions()
ExcelExportingOptions(Boolean, Boolean, GridCellExportToExcelHandler, GridExportToExcelHandler)
Declaration
public ExcelExportingOptions(bool exportStyle, bool exportFormat, GridCellExportToExcelHandler cellExportToExcelHandler, GridExportToExcelHandler exportToExcelHandler)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | exportStyle | |
System.Boolean | exportFormat | |
GridCellExportToExcelHandler | cellExportToExcelHandler | |
GridExportToExcelHandler | exportToExcelHandler |
Properties
CellExportToExcelHandler
Delegate handler which is used to customize the range and decides styles is exported or not.
Declaration
public GridCellExportToExcelHandler CellExportToExcelHandler { get; set; }
Property Value
ExportFormat
Determines whether the Number formats to be exported into Excel or not.
Declaration
public bool ExportFormat { get; set; }
Property Value
Type |
---|
System.Boolean |
ExportMode
Decides the Exportmode when ExportFormat is false
Declaration
public ExportMode ExportMode { get; set; }
Property Value
Type |
---|
ExportMode |
ExportStyle
Determines whether the cell styles should be exported into Excel or not.
Declaration
public bool ExportStyle { get; set; }
Property Value
Type |
---|
System.Boolean |
ExportToExcelHandler
Delegate handler which is used to customize the styles for Workbook in the excel.
Declaration
public GridExportToExcelHandler ExportToExcelHandler { get; set; }