menu

UWP

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

    Show / Hide Table of Contents

    Class ExcelImportExtension

    Done the operation of importing of excel sheet into grid.

    Inheritance
    System.Object
    ExcelImportExtension
    Namespace: Syncfusion.UI.Xaml.CellGrid.Converter
    Assembly: Syncfusion.SfCellGrid.UWP.dll
    Syntax
    public static class ExcelImportExtension : Object

    Methods

    ImportExcelRangeToGrid(SfCellGrid, IWorksheet, IRange, ExcelImportingOptions)

    Actual operation of importing excel cellvalues and styles are importing done here

    Declaration
    public static void ImportExcelRangeToGrid(SfCellGrid grid, IWorksheet sheet, IRange rangeToConvert, ExcelImportingOptions importoptions)
    Parameters
    Type Name Description
    SfCellGrid grid

    importing to grid

    IWorksheet sheet

    importing sheet

    IRange rangeToConvert

    source cell range

    ExcelImportingOptions importoptions

    Excel importing options

    ImportFromExcel(SfCellGrid, IWorksheet)

    Imports single sheets from excel to Grid.

    Declaration
    public static void ImportFromExcel(this SfCellGrid grid, IWorksheet sheet)
    Parameters
    Type Name Description
    SfCellGrid grid

    The grid.

    IWorksheet sheet

    The Sheet.

    ImportFromExcel(SfCellGrid, IWorksheet, ExcelImportingOptions)

    Imports single sheets from excel to Grid with importing event handler.

    Declaration
    public static void ImportFromExcel(this SfCellGrid grid, IWorksheet sheet, ExcelImportingOptions importingoptions)
    Parameters
    Type Name Description
    SfCellGrid grid

    The grid.

    IWorksheet sheet

    The sheet.

    ExcelImportingOptions importingoptions

    Excel importing options.

    ImportFromExcel(SfCellGrid, Stream)

    Imports single sheet from excel to Grid.

    Declaration
    public static void ImportFromExcel(this SfCellGrid grid, Stream fileStream)
    Parameters
    Type Name Description
    SfCellGrid grid

    The Grid.

    System.IO.Stream fileStream

    The File stream.

    ImportFromExcel(SfCellGrid, Stream, ExcelImportingOptions)

    Imports single sheets from excel to Grid with excel importing options

    Declaration
    public static Task ImportFromExcel(this SfCellGrid grid, Stream fileStream, ExcelImportingOptions importingoptions)
    Parameters
    Type Name Description
    SfCellGrid grid

    The Grid.

    System.IO.Stream fileStream

    The File stream.

    ExcelImportingOptions importingoptions

    excelimportingoptions.

    Returns
    Type
    System.Threading.Tasks.Task

    ImportFromExcel(SfCellGrid, StorageFile)

    Imports single sheets from excel to Grid.

    Declaration
    public static Task ImportFromExcel(this SfCellGrid grid, StorageFile file)
    Parameters
    Type Name Description
    SfCellGrid grid

    The Grid.

    Windows.Storage.StorageFile file

    File to import.

    Returns
    Type
    System.Threading.Tasks.Task

    ImportFromExcel(SfCellGrid, StorageFile, ExcelImportingOptions)

    Imports single sheets from excel to Grid with excel importing options.

    Declaration
    public static Task ImportFromExcel(this SfCellGrid grid, StorageFile file, ExcelImportingOptions importingoptions)
    Parameters
    Type Name Description
    SfCellGrid grid

    The Grid.

    Windows.Storage.StorageFile file

    File to import

    ExcelImportingOptions importingoptions

    Excel importing options.

    Returns
    Type
    System.Threading.Tasks.Task
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved