Disposes of a FrameworkElement when its associated cell is scrolled out of view.

Namespace:  C1.Silverlight.FlexGrid
Assembly:  C1.Silverlight.FlexGrid.4 (in C1.Silverlight.FlexGrid.4.dll)

Syntax

C#
public virtual void DisposeCell(
	C1FlexGrid grid,
	CellType cellType,
	FrameworkElement cell
)
Visual Basic
Public Overridable Sub DisposeCell ( _
	grid As C1FlexGrid, _
	cellType As CellType, _
	cell As FrameworkElement _
)

Parameters

grid
Type: C1.Silverlight.FlexGrid..::..C1FlexGrid
C1FlexGrid that owns the cell.
cellType
Type: C1.Silverlight.FlexGrid..::..CellType
CellType that specifies the type of cell to be created.
cell
Type: System.Windows..::..FrameworkElement
FrameworkElement to be disposed of.

Implements

ICellFactory..::..DisposeCell(C1FlexGrid, CellType, FrameworkElement)

See Also