FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / CellFactory Class / 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 (CellFactory)
    In This Topic
    Disposes of a System.Windows.FrameworkElement when its associated cell is scrolled out of view.
    Syntax
    'Declaration
     
    Public Overridable Sub DisposeCell( _
       ByVal grid As C1FlexGrid, _
       ByVal cellType As CellType, _
       ByVal cell As FrameworkElement _
    ) 
    public virtual 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