Class
CsvFormatProvider

Imports and exports workbooks in CSV (Comma Separated Values) format with customizable delimiter, quote, and encoding settings.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.FormatProviders.TextBased.Csv

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class CsvFormatProvider : DelimitedValuesFormatProviderBase, ITextBasedWorkbookFormatProvider, IWorkbookFormatProvider

Inheritance: objectWorkbookFormatProviderBaseTextBasedWorkbookFormatProviderBaseDelimitedValuesFormatProviderBaseCsvFormatProvider

Implements: ITextBasedWorkbookFormatProviderIWorkbookFormatProvider

Inherited Members DelimitedValuesFormatProviderBase.ImportOverride(Stream)DelimitedValuesFormatProviderBase.ImportOverride(Stream, CancellationToken)DelimitedValuesFormatProviderBase.ExportOverride(Workbook, Stream)DelimitedValuesFormatProviderBase.ExportOverride(Workbook, Stream, CancellationToken)DelimitedValuesFormatProviderBase.CanImportDelimitedValuesFormatProviderBase.CanExportDelimitedValuesFormatProviderBase.TrimLeadingEmptyRowsAndColumnsTextBasedWorkbookFormatProviderBase.Import(string)TextBasedWorkbookFormatProviderBase.Import(string, TimeSpan?)TextBasedWorkbookFormatProviderBase.Export(Workbook)TextBasedWorkbookFormatProviderBase.Export(Workbook, TimeSpan?)WorkbookFormatProviderBase.Import(Stream)WorkbookFormatProviderBase.Import(Stream, TimeSpan?)WorkbookFormatProviderBase.Export(Workbook, Stream)WorkbookFormatProviderBase.Export(Workbook, Stream, TimeSpan?)

Constructors

CsvFormatProvider()

Initializes a new instance of the CsvFormatProvider class with default CSV settings.

Declaration

cs-api-definition
public CsvFormatProvider()

Properties

FilesDescription

Gets the human-readable file type description "CSV (Comma delimited)" for use in file dialogs.

Declaration

cs-api-definition
public override string FilesDescription { get; }

Property Value

string

The files description.

Overrides WorkbookFormatProviderBase.FilesDescription

Name

Gets the unique identifier name "CsvFormatProvider" for this format provider.

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

The name of the provider.

Overrides WorkbookFormatProviderBase.Name

Settings

Gets the configuration settings for CSV delimiter, quote character, encoding, and header row options.

Declaration

cs-api-definition
public override CsvSettings Settings { get; }

Property Value

CsvSettings

The settings.

Overrides DelimitedValuesFormatProviderBase.Settings

SupportedExtensions

Gets the collection of supported file extensions (".csv") for CSV format.

Declaration

cs-api-definition
public override IEnumerable<string> SupportedExtensions { get; }

Property Value

IEnumerable<string>

The supported extensions.

Overrides WorkbookFormatProviderBase.SupportedExtensions