Class GridFilterItemsPopulatingEventArgs
Provides data for the FilterItemsPopulating event.
Namespace: Syncfusion.UI.Xaml.DataGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class GridFilterItemsPopulatingEventArgs : GridHandledEventArgs
Constructors
GridFilterItemsPopulatingEventArgs(IEnumerable<FilterElement>, GridColumn, GridFilterControl, Object)
Initializes a new instance of GridFilterItemsPopulatingEventArgs class.
Declaration
public GridFilterItemsPopulatingEventArgs(IEnumerable<FilterElement> itemsSource, GridColumn column, GridFilterControl filterControl, object originalSource)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<FilterElement> | itemsSource | The collection of filter element that is being populated to the filter control. |
GridColumn | column | The corresponding column related to the event. |
GridFilterControl | filterControl | The corresponding filter control related to the event. |
System.Object | originalSource | The source of the event. |
Properties
Column
Gets the GridColumn related to the event.
Declaration
public GridColumn Column { get; }
Property Value
Type | Description |
---|---|
GridColumn | A GridColumn related to the event. |
FilterControl
Gets the GridFilterControl where the filter items are being loaded.
Declaration
public GridFilterControl FilterControl { get; }
Property Value
Type | Description |
---|---|
GridFilterControl | The GridFilterControl where the filter items are being loaded. |
ItemsSource
Gets or sets the collection of filter element that is being populated as an ItemsSource of filter control.
Declaration
public IEnumerable<FilterElement> ItemsSource { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<FilterElement> | The collection of FilterElement that is being populated as an ItemsSource of filter control. |