'Declaration Public Event Filtered As EventHandler(Of FilteredEventArgs)
public event EventHandler<FilteredEventArgs> Filtered
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.
Property | Description |
---|---|
RowFiltersCollection | The RowFiltersCollection which was modified. |
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"); }
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