Version

FilterRow Event

Occurs when row filters are evaluated on a row.
Syntax
'Declaration
 
Public Event FilterRow As FilterRowEventHandler
public event FilterRowEventHandler FilterRow
Event Data

The event handler receives an argument of type FilterRowEventArgs containing data related to this event. The following FilterRowEventArgs properties provide information specific to this event.

PropertyDescription
Row Row that's being filtered (read-only).
RowFilteredOut Specifies whether the row is filtered out. You can change the value of this property in which case the row's IsFilteredOut state will be changed to the new value.
Remarks

The FilterRow event occurs when a row filters are evaluated on a row. Hidden property of the row will be set to appropriate value according to the results of the evaluation.

You can use the FilteRow event to do a custom filter evaluation on the row and set it's Hidden property to appropriate value.

Example
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

    Private Sub UltraGrid1_FilterRow(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.FilterRowEventArgs) Handles UltraGrid1.FilterRow
        Debug.WriteLine(e.Row.Index & " index TypeOf row is filtered out : " & e.RowFilteredOut.ToString())

        ' You can also change the filtered out state of the row by setting the RowFilteredOut
        ' based on some custom row filter criteria.
        If 0 = e.Row.Index Then
            e.RowFilteredOut = False
        End If
    End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;

		private void ultraGrid1_FilterRow(object sender, Infragistics.Win.UltraWinGrid.FilterRowEventArgs e)
		{
			Debug.WriteLine( e.Row.Index + " index row is filtered out : " + e.RowFilteredOut.ToString( ) );

			// You can also change the filtered out state of the row by setting the RowFilteredOut
			// based on some custom row filter criteria.
			if ( 0 == e.Row.Index )
				e.RowFilteredOut = false;
		}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also