WinUI

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

    Show / Hide Table of Contents

    Class DataGridExcelExportStartOptions

    Inheritance
    System.Object
    GridEventArgs
    GridHandledEventArgs
    DataGridExcelExportStartOptions
    Inherited Members
    GridHandledEventArgs.Handled
    GridEventArgs.OriginalSender
    Namespace: Syncfusion.UI.Xaml.DataGrid.Export
    Assembly: Syncfusion.GridExport.WinUI.dll
    Syntax
    public sealed class DataGridExcelExportStartOptions : GridHandledEventArgs

    Constructors

    DataGridExcelExportStartOptions(IWorksheet, ExportCellType, IStyle, Int32, Object)

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

    Properties

    CellType

    Gets the type of cell being exported.

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

    One of the ExportCellType enumeration values that specifies the type of the cell being exported. The default value 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