ComponentOne True DBGrid for WinForms
AddRegexCellStyle Method (C1DisplayColumn)

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid Namespace > C1DisplayColumn Class : AddRegexCellStyle Method
Combination of one or more CellStyleFlag enumerations.
Style object that specifies appearance attributes.
A regular expression string.
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

Reference

C1DisplayColumn Class
C1DisplayColumn Members