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

Used as event parameter for FilterRow event.

Syntax

Visual Basic (Declaration) 
Public Class FilterRowEventArgs 
   Inherits System.EventArgs
C# 
public class FilterRowEventArgs : System.EventArgs 

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