FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.5.2 Assembly / C1.WPF.FlexGrid Namespace / ICellFactory Interface / DisposeCell Method
C1FlexGrid that owns the cell.
CellType that specifies the type of cell to be created.
System.Windows.FrameworkElement to be disposed of.

In This Topic
    DisposeCell Method (ICellFactory)
    In This Topic
    Disposes of a System.Windows.FrameworkElement when its associated cell is scrolled out of view.
    Syntax
    'Declaration
     
    Sub DisposeCell( _
       ByVal grid As C1FlexGrid, _
       ByVal cellType As CellType, _
       ByVal cell As FrameworkElement _
    ) 
    void DisposeCell( 
       C1FlexGrid grid,
       CellType cellType,
       FrameworkElement cell
    )

    Parameters

    grid
    C1FlexGrid that owns the cell.
    cellType
    CellType that specifies the type of cell to be created.
    cell
    System.Windows.FrameworkElement to be disposed of.
    See Also