menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ExportPivotGridToCsv - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ExportPivotGridToCsv

    Represents a class that transfers the grid content to CSV document.

    Inheritance
    System.Object
    ExportPivotGridToCsv
    Namespace: Syncfusion.UI.Xaml.PivotGridConverter
    Assembly: Syncfusion.SfPivotGridConverter.UWP.dll
    Syntax
    public class ExportPivotGridToCsv : Object

    Constructors

    ExportPivotGridToCsv(PivotEngine)

    Initializes a new instance of the ExportPivotGridToCsv class.

    Declaration
    public ExportPivotGridToCsv(PivotEngine pivotData)
    Parameters
    Type Name Description
    PivotEngine pivotData

    The pivot engine data.

    ExportPivotGridToCsv(PivotEngine[])

    Initializes a new instance of the ExportPivotGridToCsv class.

    Declaration
    public ExportPivotGridToCsv(PivotEngine[] pivotData)
    Parameters
    Type Name Description
    PivotEngine[] pivotData

    The pivot engine data.

    Exceptions
    Type Condition
    System.ArgumentNullException

    Throws exception if the PivotEngine array is null or its length become zero.

    ExportPivotGridToCsv(SfPivotGrid)

    Initializes a new instance of the ExportPivotGridToCsv class.

    Declaration
    public ExportPivotGridToCsv(SfPivotGrid pivotGrid)
    Parameters
    Type Name Description
    SfPivotGrid pivotGrid

    This parameter holds the SfPivotGrid control object which is utilized for CSV exporting.

    Remarks

    This is applicable only for relational data source.

    ExportPivotGridToCsv(SfPivotGrid[])

    Initializes a new instance of the ExportPivotGridToCsv class.

    Declaration
    public ExportPivotGridToCsv(SfPivotGrid[] pivotGrid)
    Parameters
    Type Name Description
    SfPivotGrid[] pivotGrid

    This parameter holds the SfPivotGrid control object which is utilized for CSV exporting.

    Exceptions
    Type Condition
    System.ArgumentNullException

    Throws exception if the SfPivotGrid control is null or its length become zero.

    Methods

    ExportToDocument(String)

    Exports the grid to CSV document.

    Declaration
    public void ExportToDocument(string fileName)
    Parameters
    Type Name Description
    System.String fileName

    The file name for exported CSV document.

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved