Creates a FrameworkElement responsible for representing a grid cell of a given type at the given coordinates.

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

Syntax

C#
public virtual FrameworkElement CreateCell(
	C1FlexGrid grid,
	CellType cellType,
	CellRange rng
)
Visual Basic
Public Overridable Function CreateCell ( _
	grid As C1FlexGrid, _
	cellType As CellType, _
	rng As CellRange _
) 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.
rng
Type: C1.Silverlight.FlexGrid..::..CellRange
CellRange that specifies the row and column represented by the cell.

Return Value

A new FrameworkElement responsible for representing the grid cell.

Implements

ICellFactory..::..CreateCell(C1FlexGrid, CellType, CellRange)

See Also