ComponentOne True DBGrid for WinForms
AddRegexCellStyle Method (C1TrueDBGrid)

C1.Win.C1TrueDBGrid.4 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.
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

C1TrueDBGrid Class
C1TrueDBGrid Members