menu

WPF

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

    Show / Hide Table of Contents

    Class GridCellExcelExportingEventArgs

    Provides data for GridCellExcelExportingEventHandler.

    Inheritance
    System.Object
    System.EventArgs
    GridEventArgs
    GridHandledEventArgs
    GridCellExcelExportingEventArgs
    Inherited Members
    GridEventArgs.OriginalSender
    GridHandledEventArgs.Handled
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Grid.Converter
    Assembly: Syncfusion.SfGridConverter.WPF.dll
    Syntax
    public sealed class GridCellExcelExportingEventArgs : GridHandledEventArgs

    Constructors

    GridCellExcelExportingEventArgs(IRange, ExportCellType, Object, Object, String, ViewDefinition, Int32, Object, ExportMode, IPropertyAccessProvider)

    Declaration
    public GridCellExcelExportingEventArgs(IRange exportRange, ExportCellType exportCellType, object cellValue, object exportNodeEntry, string columnName, ViewDefinition viewDefinition, int childLevel, object dataGrid, ExportMode exportMode, IPropertyAccessProvider propertyAccessProvider)
    Parameters
    Type Name Description
    IRange exportRange
    ExportCellType exportCellType
    System.Object cellValue
    System.Object exportNodeEntry
    System.String columnName
    ViewDefinition viewDefinition
    System.Int32 childLevel
    System.Object dataGrid
    ExportMode exportMode
    IPropertyAccessProvider propertyAccessProvider

    Properties

    CellType

    Gets a value that specifies the export CellType.

    Declaration
    public ExportCellType CellType { get; }
    Property Value
    Type Description
    ExportCellType

    One of the ExportCellType enumeration that specifies the export CellType. The default mode is HeaderCell.

    CellValue

    Gets the value of the cell being exported.

    Declaration
    public object CellValue { get; }
    Property Value
    Type
    System.Object

    ColumnName

    Gets the name of the column for the cell being exported.

    Declaration
    public string ColumnName { get; }
    Property Value
    Type
    System.String

    ExportMode

    Gets or sets a value that specifies the ExportMode.

    Declaration
    public ExportMode ExportMode { get; set; }
    Property Value
    Type Description
    ExportMode

    One of the ExportMode enumeration that specifies the ExportMode. The default mode is Text.

    GridViewDefinition

    Gets a value that specifies the ViewDefinition.

    Declaration
    public ViewDefinition GridViewDefinition { get; }
    Property Value
    Type
    ViewDefinition

    Level

    Gets the level of the DataGrid being exported.

    Declaration
    public int Level { get; }
    Property Value
    Type
    System.Int32
    Remarks

    The level of the DataGrid is 0 for the parent DataGrid, 1 for the first level nested DataGrid, and so on.

    NodeEntry

    Gets the node entry for the cell being exported.

    Declaration
    public object NodeEntry { get; }
    Property Value
    Type
    System.Object

    PropertyAccessProvider

    Gets the property access provider for the cell being exported.

    Declaration
    public IPropertyAccessProvider PropertyAccessProvider { get; }
    Property Value
    Type
    IPropertyAccessProvider

    Range

    Gets or sets the range of cells to be exported.

    Declaration
    public IRange Range { get; set; }
    Property Value
    Type
    IRange
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved