Infragistics(R) NetAdvantage(R) Windows Forms
FilterRowEventHandler Delegate
See Also  Example E-mail your feedback on this topic.
Infragistics.Win.UltraWinGrid Namespace : FilterRowEventHandler Delegate

sender
e
delegate for handling event that is fired when a row is being filtered using row filters.

Syntax

Visual Basic (Declaration) 
Public Delegate Sub FilterRowEventHandler( _
   ByVal sender As Object, _
   ByVal e As FilterRowEventArgs _
) 
C# 
public delegate void FilterRowEventHandler( 
   object sender,
   FilterRowEventArgs e
)

Parameters

sender
e

Example

Visual BasicCopy Code
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
C#Copy Code
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;
		}

See Also