FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / CellFactory Class / CreateCellBorder 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
    CreateCellBorder Method (CellFactory)
    In This Topic
    Creates a System.Windows.Controls.Border element that represents the background and border of a grid cell and contains the cell data.
    Syntax
    'Declaration
     
    
    Public Overridable Function CreateCellBorder( _
       ByVal grid As C1FlexGrid, _
       ByVal cellType As CellType, _
       ByVal rng As CellRange _
    ) As Border
    public virtual Border CreateCellBorder( 
       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 System.Windows.Controls.Border element that represents the background and border of a grid cell.
    See Also