Version

Filtered Event

Event raised after the grid is filtered.
Syntax
'Declaration
 
Public Event Filtered As EventHandler(Of FilteredEventArgs)
public event EventHandler<FilteredEventArgs> Filtered
Event Data

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

PropertyDescription
RowFiltersCollection The RowFiltersCollection which was modified.
Example
This sample demonstrates how to handle the Filtered event which is fired after the grid is filtered.

For an overview of how to handle events in Visual Basic or Visual C#, see Event Handlers in Visual Basic and Visual C#. For specific information and code examples illustrating how to consume events in your application, see Consuming Events in the .NET Framework Developer's Guide.

AddHandler Me.MyDataGrid.Filtered, AddressOf MyDataGrid_Filtered

Private Sub MyDataGrid_Filtered(ByVal sender As System.Object, ByVal e As FilteredEventArgs)
   System.Diagnostics.Debug.WriteLine("Grid Successfully Filtered")
End Sub
this.MyDataGrid.Filtered += new EventHandler<FilteredEventArgs>(MyDataGrid_Filtered);

void MyDataGrid_Filtered(object sender, FilteredEventArgs e)
{
   System.Diagnostics.Debug.WriteLine("Grid Successfully Filtered");
}
<ig:XamGrid x:Name="MyDataGrid"  
    
Filtered="MyDataGrid_Filtered">
</ig:XamGrid>
Requirements

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