[Root] / Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Export Namespace / CsvExporter Class


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
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also