FlexGrid for WPF | ComponentOne
C1.WPF.Grid Assembly / C1.WPF.Grid Namespace / GridWrapCellFactory Class / GetCellKind Method / GetCellKind(GridCellType,GridCellRange) Method
Type of the cell.
The range.

In This Topic
    GetCellKind(GridCellType,GridCellRange) Method
    In This Topic
    Gets a key that defines the kind of cell content.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function GetCellKind( _
       ByVal cellType As GridCellType, _
       ByVal range As GridCellRange _
    ) As Object
    public virtual object GetCellKind( 
       GridCellType cellType,
       GridCellRange range
    )

    Parameters

    cellType
    Type of the cell.
    range
    The range.

    Return Value

    The returned object will be used as a key to recycle the cell
    Remarks
    If null is returned, the cell will not be recycled, therefore the CreateCellContent method will be called for every rendered cell. Notice this will affect the performance negatively.
    See Also