ComponentOne List for WinForms
C1.Win.C1List Namespace / C1DisplayColumn 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 (C1DisplayColumn)
    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 String _
    ) 
    public void AddRegexCellStyle( 
       CellStyleFlag condition,
       Style style,
       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