<
OLAP for WPF and Silverlight | ComponentOne
C1.WPF.Olap Namespace / C1OlapGrid.OlapCellFactory Class / CreateCell Method
C1.WPF.FlexGrid.C1FlexGrid that owns the cell.
C1.WPF.FlexGrid.CellType that specifies the type of cell to be created.
C1.WPF.FlexGrid.CellRange that specifies the row and column represented by the cell.

In This Topic
    CreateCell Method
    In This Topic
    Creates a System.Windows.FrameworkElement responsible for representing a grid cell of a given type at the given coordinates.
    Syntax
    'Declaration
     
    Public Overrides Function CreateCell( _
       ByVal grid As C1FlexGrid, _
       ByVal cellType As CellType, _
       ByVal range As CellRange _
    ) As FrameworkElement
    public override FrameworkElement CreateCell( 
       C1FlexGrid grid,
       CellType cellType,
       CellRange range
    )

    Parameters

    grid
    C1.WPF.FlexGrid.C1FlexGrid that owns the cell.
    cellType
    C1.WPF.FlexGrid.CellType that specifies the type of cell to be created.
    range
    C1.WPF.FlexGrid.CellRange that specifies the row and column represented by the cell.

    Return Value

    A new System.Windows.FrameworkElement responsible for representing the grid cell.
    See Also