Skip to main content
All docs
V25.2
  • Row

    IDataSourceColumnTypeDetector.GetColumnType(Int32, Int32, CellRange) Method

    Returns a type of the data source column.

    Namespace: DevExpress.Spreadsheet

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

    NuGet Package: DevExpress.Spreadsheet.Core

    Declaration

    Type GetColumnType(
        int index,
        int offset,
        CellRange range
    )

    Parameters

    Name Type Description
    index Int32

    An integer that is the index of the worksheet column used in the binding range.

    offset Int32

    An integer that is the column offset in the binding range.

    range CellRange

    A CellRange object that is the binding range for which a column name is obtained.

    Returns

    Type Description
    Type

    A Type object that identifies the column data type.

    See Also