ComponentOne FlexGrid for UWP
C1.UWP.FlexGrid Assembly / C1.Xaml.FlexGrid Namespace / ICellFactory Interface / CreateCell Method
C1FlexGrid that owns the cell.
CellType that specifies the type of cell to be created.
CellRange that specifies the row and column represented by the cell.

In This Topic
    CreateCell Method (ICellFactory)
    In This Topic
    Creates a Windows.UI.Xaml.FrameworkElement responsible for representing a grid cell of a given type at the given coordinates.
    Syntax
    'Declaration
     
    
    Function CreateCell( _
       ByVal grid As C1FlexGrid, _
       ByVal cellType As CellType, _
       ByVal rng As CellRange _
    ) As FrameworkElement

    Parameters

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

    Return Value

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