Blazor | ComponentOne
C1.Blazor.Grid Assembly / C1.Blazor.Grid Namespace / GridWrapCellFactory Class / PrepareCellStyle Method / PrepareCellStyle(GridCellType,GridCellRange,C1Style,C1Thickness) Method
Cell's type.
Cell's range.
The style that will be applied to the cell's div.
A thickness object containing zeros or ones to represent whether the borders of the cell are internal 1 or external 0.

In This Topic
    PrepareCellStyle(GridCellType,GridCellRange,C1Style,C1Thickness) Method
    In This Topic
    Prepares the specified style for displaying the cell in the specified range.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Sub PrepareCellStyle( _
       ByVal cellType As GridCellType, _
       ByVal range As GridCellRange, _
       ByVal style As C1Style, _
       ByVal internalBorders As C1Thickness _
    ) 
    public override void PrepareCellStyle( 
       GridCellType cellType,
       GridCellRange range,
       C1Style style,
       C1Thickness internalBorders
    )

    Parameters

    cellType
    Cell's type.
    range
    Cell's range.
    style
    The style that will be applied to the cell's div.
    internalBorders
    A thickness object containing zeros or ones to represent whether the borders of the cell are internal 1 or external 0.
    See Also