FlexGrid for WPF | ComponentOne
C1.WPF.GridControl Assembly / C1.WPF.Grid Namespace / GridControlAdapter Class / GetCellKind Method
The range.

In This Topic
    GetCellKind Method (GridControlAdapter)
    In This Topic
    Gets a key that defines the type of cell content.
    Syntax
    'Declaration
     
    Public Overridable Function GetCellKind( _
       ByVal range As GridControlRange _
    ) As Object
    public virtual object GetCellKind( 
       GridControlRange range
    )

    Parameters

    range
    The range.

    Return Value

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