FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / C1FlexGridBase Class / SetCellStyle Method / SetCellStyle(Int32,Int32,String) Method
Row index.
Column index
Name of the new style.

In This Topic
    SetCellStyle(Int32,Int32,String) Method
    In This Topic
    Assigns a custom CellStyle to a cell.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetCellStyle( _
       ByVal row As Integer, _
       ByVal col As Integer, _
       ByVal styleName As String _
    ) 
    public void SetCellStyle( 
       int row,
       int col,
       string styleName
    )

    Parameters

    row
    Row index.
    col
    Column index
    styleName
    Name of the new style.
    See Also