ComponentOne FlexGrid for WPF and Silverlight
DisposeCell Method (CellFactory)

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.
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 System.Windows.FrameworkElement _
) 
public virtual void DisposeCell( 
   C1FlexGrid grid,
   CellType cellType,
   System.Windows.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

Reference

CellFactory Class
CellFactory Members