FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / CellFactory Class / ApplyCellStyles 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.
System.Windows.Controls.Border element that represents the cell.

In This Topic
    ApplyCellStyles Method (CellFactory)
    In This Topic
    Allows derived classes to finish customizing cells after they have been created and all styles have been applied.
    Syntax
    'Declaration
     
    
    Public Overridable Sub ApplyCellStyles( _
       ByVal grid As C1FlexGrid, _
       ByVal cellType As CellType, _
       ByVal rng As CellRange, _
       ByVal bdr As Border _
    ) 
    public virtual void ApplyCellStyles( 
       C1FlexGrid grid,
       CellType cellType,
       CellRange rng,
       Border bdr
    )

    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.
    bdr
    System.Windows.Controls.Border element that represents the cell.
    See Also