'宣言 Public Delegate Sub FilterRowEventHandler( _ ByVal sender As Object, _ ByVal e As FilterRowEventArgs _ )
public delegate void FilterRowEventHandler( object sender, FilterRowEventArgs e )
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; }