FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / CellFactory Class / CreateCellEditor 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
    CreateCellEditor Method (CellFactory)
    In This Topic
    Creates a System.Windows.FrameworkElement responsible for editing the value in a grid cell at the given coordinates.
    Syntax
    'Declaration
     
    Public Overridable Function CreateCellEditor( _
       ByVal grid As C1FlexGrid, _
       ByVal cellType As CellType, _
       ByVal rng As CellRange _
    ) As FrameworkElement
    public virtual FrameworkElement CreateCellEditor( 
       C1FlexGrid grid,
       CellType cellType,
       CellRange rng
    )

    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 System.Windows.FrameworkElement responsible for representing the grid cell.
    See Also