Syncfusion.Grid.Windows


FilterBarChoices Event

This event occurs when GridTableDescriptor is initializing columns with .AllowFilter set and gives you the option to handle filterBar choices through custom code. In such case the event is also raised when the user clicks on on dropdown button of a GridTableFilterBarCell.
Syntax
'Declaration
 
<DescriptionAttribute("Occurs when GridTableDescriptor is initializing columns with Filter enabled and gives option to handle FilterBarChoices through custom code")>
<CategoryAttribute("Filter")>
Public Event FilterBarChoices As GridFilterBarChoicesEventHandler
'Usage
 
Dim instance As GridControl
Dim handler As GridFilterBarChoicesEventHandler
 
AddHandler instance.FilterBarChoices, handler
[Description("Occurs when GridTableDescriptor is initializing columns with Filter enabled and gives option to handle FilterBarChoices through custom code")]
[Category("Filter")]
public event GridFilterBarChoicesEventHandler FilterBarChoices
Event Data

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

PropertyDescription
(Inherited from System.ComponentModel.CancelEventArgs)
The column for which choices should be shown  
Set this property false if you do not want a summary being created for the specified column. The engine will raise the event with null (Nothing) in order to investigate for which columns it should create internal summaries.  
When a user clicks on the dropdown button of a FilterBarCell then this event is raised and the Element will contain the element at the given filter bar row. You should then initialize this array with values that should be displayed in the dropdown.  
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also