True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid.BaseGrid Namespace / View Class / GetCellStyle(Int32,C1DisplayColumn,Boolean,Boolean) Method
Row index.
Split column.
Ignore selection style.
Ignore user custom style.

In This Topic
    GetCellStyle(Int32,C1DisplayColumn,Boolean,Boolean) Method
    In This Topic
    Returns a C1.Win.C1TrueDBGrid.Style that is applied to the specified cell.
    Syntax
    'Declaration
     
    Public Overloads Function GetCellStyle( _
       ByVal row As System.Integer, _
       ByVal dc As C1DisplayColumn, _
       Optional ByVal ignoreSelection As System.Boolean, _
       Optional ByVal ignoreFetchRowStyle As System.Boolean _
    ) As Style
    public Style GetCellStyle( 
       System.int row,
       C1DisplayColumn dc,
       System.bool ignoreSelection,
       System.bool ignoreFetchRowStyle
    )

    Parameters

    row
    Row index.
    dc
    Split column.
    ignoreSelection
    Ignore selection style.
    ignoreFetchRowStyle
    Ignore user custom style.
    Remarks
    The returned value is a copy of actual C1.Win.C1TrueDBGrid.Style object and it cannot be changed in the event.
    See Also