Skip to main content
All docs
V25.1
  • Row

    TableCollection.GetTables(CellRange) Method

    Gets tables contained in the specified cell range.

    Namespace: DevExpress.Spreadsheet

    Assembly: DevExpress.Spreadsheet.v25.1.Core.dll

    NuGet Package: DevExpress.Spreadsheet.Core

    Declaration

    IList<Table> GetTables(
        CellRange range
    )

    Parameters

    Name Type Description
    range CellRange

    A CellRange object specifying a cell range that contains tables to be returned.

    Returns

    Type Description
    IList<Table>

    A collection of tables within the specified range of cells.

    Remarks

    The GetTables method returns all tables containing cell ranges that intersect the specified cell range. To check whether a table is contained in the worksheet, use the TableCollection.Contains method.

    See Also