Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Export Namespace / CsvExporter Class
Members


In This Topic
    CsvExporter Class
    In This Topic
    Class that allows grid data to be exported using the comma-separated format.
    Syntax
    'Declaration
     
    Public Class CsvExporter 
       Inherits ExporterBase
    'Usage
     
    Dim instance As CsvExporter
    public class CsvExporter : ExporterBase 
    Remarks
    This class offers more options than the ExportToCsv method, allowing details and statistical functions to be exported.
    Inheritance Hierarchy

    System.Object
       Xceed.Wpf.DataGrid.Export.ExporterBase
          Xceed.Wpf.DataGrid.Export.CsvExporter

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the CsvExporter class specifying its DataGridControl.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the number of detail levels that will be exported. (Inherited from Xceed.Wpf.DataGrid.Export.ExporterBase)
    Public PropertyGets the CsvFormatSettings object that will be used for the copy.  
    Public PropertyGets or sets a boolean value that indicates whether column headers will be exported. (Inherited from Xceed.Wpf.DataGrid.Export.ExporterBase)
    Public PropertyGets or sets a boolean value indicating whether a parent detail's and the master grid's information should be repeated. (Inherited from Xceed.Wpf.DataGrid.Export.ExporterBase)
    Public PropertyGets or sets a boolean value indicating whether the column titles or the column field names are displayed in the headers. (Inherited from Xceed.Wpf.DataGrid.Export.ExporterBase)
    Top
    Protected Properties
     NameDescription
    Protected PropertyGets the base stream used for the export. (Inherited from Xceed.Wpf.DataGrid.Export.ExporterBase)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Starts the export process. (Inherited from Xceed.Wpf.DataGrid.Export.ExporterBase)
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. Called after each data item is exported.  
    Protected MethodOverridden. Called after the headers of each master or detail level is exported.  
    Protected MethodOverridden. Called before each data item is exported.  
    Protected MethodOverridden. Called before each field in a data item is exported.  
    Protected MethodOverridden.   
    Protected MethodOverridden. Called before each field in a header is exported.  
    Top
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also