WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridExcelExportingEventArgs

    Show / Hide Table of Contents

    Class GridExcelExportingEventArgs

    Provides data for GridExcelExportingEventhandler .

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

    Constructors

    GridExcelExportingEventArgs(IWorksheet, ExportCellType, ExportCellStyle, Object)

    Declaration
    public GridExcelExportingEventArgs(IWorksheet worksheet, ExportCellType exportCellType, ExportCellStyle exportCellStyle, object dataGrid)
    Parameters
    Type Name Description
    IWorksheet worksheet
    ExportCellType exportCellType
    ExportCellStyle exportCellStyle
    System.Object dataGrid

    GridExcelExportingEventArgs(IWorksheet, ExportCellType, IStyle, ExportCellStyle, Int32, Object)

    Declaration
    public GridExcelExportingEventArgs(IWorksheet worksheet, ExportCellType exportCellType, IStyle style, ExportCellStyle exportCellStyle, int childLevel, object dataGrid)
    Parameters
    Type Name Description
    IWorksheet worksheet
    ExportCellType exportCellType
    IStyle style
    ExportCellStyle exportCellStyle
    System.Int32 childLevel
    System.Object dataGrid

    Properties

    CellStyle

    Gets or sets a value that specifies the CellStyle.

    Declaration
    public ExportCellStyle CellStyle { get; set; }
    Property Value
    Type Description
    ExportCellStyle

    CellType

    Gets or sets 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.

    Level

    Gets the level of the DataGrid being exported.

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

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

    Style

    Gets or sets the style for the cell being exported.

    Declaration
    public IStyle Style { get; }
    Property Value
    Type Description
    IStyle

    WorkSheet

    Gets or sets the worksheet for the cell being exported.

    Declaration
    public IWorksheet WorkSheet { get; set; }
    Property Value
    Type Description
    IWorksheet
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved