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

In This Topic
    AddRegexCellStyle Method (C1TrueDBGrid)
    In This Topic
    Controls the Style used to change the appearance of cells according to their contents.
    Syntax
    'Declaration
     
    Public Sub AddRegexCellStyle( _
       ByVal condition As CellStyleFlag, _
       ByVal style As Style, _
       ByVal regex As System.String _
    ) 
    public void AddRegexCellStyle( 
       CellStyleFlag condition,
       Style style,
       System.string regex
    )

    Parameters

    condition
    Combination of one or more CellStyleFlag enumerations.
    style
    Style object that specifies appearance attributes.
    regex
    A regular expression string.
    See Also