Gets or sets which condition is applied when filtering.
The following code example shows how to customize a filtering text box cell's behavior or appearance. This code example is part of a larger example provided for the
FilteringTextBoxCell class.
private Cell CreateTextFilterCell()
{
FilteringTextBoxCell filteringTextBoxCell = new FilteringTextBoxCell();
filteringTextBoxCell.FilteringCellIndex = 0;
filteringTextBoxCell.ComparisonType = StringComparison.InvariantCultureIgnoreCase;
filteringTextBoxCell.FilterComparisonOperator = FilterComparisonOperator.StartsWith;
return filteringTextBoxCell;
}
Private Function CreateTextFilterCell() As Cell
Dim filteringTextBoxCell As New FilteringTextBoxCell()
filteringTextBoxCell.FilteringCellIndex = 0
filteringTextBoxCell.ComparisonType = StringComparison.InvariantCultureIgnoreCase
filteringTextBoxCell.FilterComparisonOperator = FilterComparisonOperator.StartsWith
Return filteringTextBoxCell
End Function
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2