menu

WinForms

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

    Show / Hide Table of Contents

    Class DataGridExcelExportingEventArgs

    Provides data for DataGridExcelExportingEventHandler .

    Inheritance
    System.Object
    System.EventArgs
    GridEventArgs
    GridHandledEventArgs
    DataGridExcelExportingEventArgs
    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.WinForms.DataGridConverter.Events
    Assembly: Syncfusion.SfDataGridConverter.WinForms.dll
    Syntax
    public sealed class DataGridExcelExportingEventArgs : GridHandledEventArgs

    Constructors

    DataGridExcelExportingEventArgs(IWorksheet, ExportCellType, ExportCellStyle, Object)

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

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

    Declaration
    public DataGridExcelExportingEventArgs(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
    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 enumeration that specifies the export CellType. The default mode is .

    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.

    Style

    Gets or sets the style for the cell being exported.

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

    WorkSheet

    Gets or sets the worksheet for the cell being exported.

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