Class DataTableFormatProviderExportSettings
Provides the export settings for the DataTableFormatProvider.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.FormatProviders
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class DataTableFormatProviderExportSettings
Constructors
DataTableFormatProviderExportSettings()
Initializes an instance of the DataTableFormatProviderExportSettings class.
Declaration
public DataTableFormatProviderExportSettings()
Properties
DataTableCulture
Get or sets the DataTable culture. By default the culture of the workbook is used.
Declaration
public CultureInfo DataTableCulture { get; set; }
Property Value
System.Globalization.CultureInfo
|
HasHeaderRow
Get or sets whether the header row of the worksheet should be exported.
Declaration
public bool HasHeaderRow { get; set; }
Property Value
System.Boolean
|
RangeToExport
Get or sets the cell range for which the data will be exported.
Declaration
public CellRange RangeToExport { get; set; }
Property Value
CellRange
|
ShouldSetDataTypes
Get or sets whether the exporter should try to parse the data types from the spreadsheet. If false only objects will be exported.
Declaration
public bool ShouldSetDataTypes { get; set; }
Property Value
System.Boolean
|
Methods
OnColumnExporting(DataColumn, Int32)
This method triggers the ColumnExporting event.
Declaration
protected virtual void OnColumnExporting(DataColumn dataColumn, int columnIndex)
Parameters
System.Data.DataColumn
dataColumn
The currently exported DataColumn |
System.Int32
columnIndex
The index of the column in the DataTable that the event occurs for. |
Events
ColumnExporting
This event is fired for each column and allows you to change its properties.
Declaration
public event EventHandler<ColumnExportingEventArgs> ColumnExporting
Event Type
System.EventHandler<ColumnExportingEventArgs>
|