ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1DisplayColumn.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 parameters is removed. However, if condition is CellStyleFlag.AllCells, then all cell conditions for the specified regular expression are removed, regardless of status.

See Also

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


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