ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.ClearRegexCellStyle Method (CellStyleFlag, String)

Removes a cell condition established with a previous call to the AddRegexCellStyle method.

[Visual Basic]

Overloads Public Sub ClearRegexCellStyle( _

ByVal condition As CellStyleFlag, _

ByVal regex As String _

)

[C#]

public void ClearRegexCellStyle(

CellStyleFlag condition,

string regex

);

[Delphi]

public procedure ClearRegexCellStyle(

condition: CellStyleFlag;

regex: String

); overload;

Parameters

condition

Combination of one or more CellStyleFlag enumerations.

regex

A regular expression string.

Remarks

The single cell condition matching both values is removed. However, if condition is CellStyleFlag.AllCells, then all cell conditions for the specified regular expression are removed, regardless of status.

See Also

C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace | C1TrueDBGrid.ClearRegexCellStyle Overload List


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.