Class FilterPopupShowingEventArgs
Represents the class that provides the data for the FilterPopupShowing event.
Inheritance
System.Object
FilterPopupShowingEventArgs
Namespace: Syncfusion.WinForms.DataGrid.Events
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class FilterPopupShowingEventArgs : CancelEventArgs
Constructors
FilterPopupShowingEventArgs(GridColumn, IEnumerable<FilterElement>, DataGridFilterControl, Point)
Initializes a new instance of the FilterPopupShowingEventArgs class.
Declaration
public FilterPopupShowingEventArgs(GridColumn column, IEnumerable<FilterElement> uniqueDataSource, DataGridFilterControl control, Point location)
Parameters
Type | Name | Description |
---|---|---|
GridColumn | column | The column that needs to show the filter pop up. |
System.Collections.Generic.IEnumerable<FilterElement> | uniqueDataSource | The unique items collection that needs to show on the filter pop up. |
DataGridFilterControl | control | The DataGridFilterControl which is going to show on the filter pop-up. |
System.Drawing.Point | location | The location of the filter control. |
Properties
Column
Gets the column that needs to show the filter pop up.
Declaration
public GridColumn Column { get; }
Property Value
Type |
---|
GridColumn |
Control
Gets or sets the DataGridFilterControl where the filter items are being loaded.
Declaration
public DataGridFilterControl Control { get; set; }
Property Value
Type |
---|
DataGridFilterControl |
Location
Gets or sets the location of the filter pop up control.
Declaration
public Point Location { get; set; }
Property Value
Type |
---|
System.Drawing.Point |
UniqueItems
Gets the collection of unique items for the column.
Declaration
public IEnumerable<FilterElement> UniqueItems { get; }
Property Value
Type |
---|
System.Collections.Generic.IEnumerable<FilterElement> |