ComponentOne List for WinForms
C1.Win.C1List Namespace / DropDownList Class / AddRegexCellStyle Method
Combination of one or more CellStyleFlag constants
Style object that specifies font and color attributes.
A regular expression string.

In This Topic
    AddRegexCellStyle Method (DropDownList)
    In This Topic
    Controls the font and color of cells within a list, column, or split 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 constants
    style
    Style object that specifies font and color attributes.
    regex
    A regular expression string.
    See Also