Infragistics(R) NetAdvantage(R) Windows Forms
RowFilterComparer Property
See Also  E-mail your feedback on this topic.
Infragistics.Win.UltraWinGrid Namespace > UltraGridColumn Class : RowFilterComparer Property

Comparer used to evaluate comparison operators for the row filtering functionality. The values passed in the Compare method of the IComparer will be the two values that are to be compareed.

Syntax

Visual Basic (Declaration) 
Public Property RowFilterComparer As IComparer
C# 
public IComparer RowFilterComparer {get; set;}

Remarks

RowFilterComparer is used to evaluate comparison operators for the row filtering functionality. This is useful if you want to compare values using custom logic for row filtering functionality.

Unlike the Infragistics.Win.UltraWinGrid.UltraGridColumn.SortComparer, the values passed in the Compare method of the RowFilterComparer will be the two values that are to be compared. The Compare method of the Infragistics.Win.UltraWinGrid.UltraGridColumn.SortComparer gets passed in two UltraGridCell instances. Also if filter row functionality is enabled, the user can enter any value, typically in the form of a string, to filter the rows by. In this case the Compare method may get called on this comparer where one value is a cell value which is column's data type and the other value is a string. Therefore this comparer should handle string values. It should also handle null or DBNull if those value occur in the column.

See Also