ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1DataColumn.FilterEscape Property

Gets or sets the characters that should be escaped when applying the filter criteria to the datasource.

[Visual Basic]

Public Property FilterEscape As String

[C#]

public string FilterEscape {get;set;}

[Delphi]

public property FilterEscape: String read get_FilterEscape write set_FilterEscape;

Remarks

The default value for this property is "*%".

Example

The following code uses the FilterEscape property to set the escaped characters when applying the filter criteria to the data source:

·      Visual Basic

       Me.C1TrueDBGrid1.Columns(0).FilterEscape = "*+"

·      C#

       this.c1TrueDBGrid1.Columns[0].FilterEscape = "*+";

·      Delphi

       Self.C1TrueDBGrid1.Columns[0].FilterEscape := '*+';

See Also

C1DataColumn Class | C1DataColumn Members | C1.Win.C1TrueDBGrid Namespace


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