True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid Namespace / C1DisplayColumn Class / AddCellStyle Method
Combination of one or more CellStyleFlag enumerations.
Style object that specifies appearance attributes.

In This Topic
    AddCellStyle Method (C1DisplayColumn)
    In This Topic
    Controls the Style used to change the appearance for cells meeting the specified condition.
    Syntax
    'Declaration
     
    Public Sub AddCellStyle( _
       ByVal condition As CellStyleFlag, _
       ByVal style As Style _
    ) 
    public void AddCellStyle( 
       CellStyleFlag condition,
       Style style
    )

    Parameters

    condition
    Combination of one or more CellStyleFlag enumerations.
    style
    Style object that specifies appearance attributes.
    See Also