| Visual Basic (Declaration) | |
|---|---|
Public Event AfterRowFilterDropDownPopulate As AfterRowFilterDropDownPopulateEventHandler | |
| C# | |
|---|---|
public event AfterRowFilterDropDownPopulateEventHandler AfterRowFilterDropDownPopulate | |
The event handler receives an argument of type AfterRowFilterDropDownPopulateEventArgs containing data related to this event. The following AfterRowFilterDropDownPopulateEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Column | Column associated with the column flter drop down. |
| Rows | If UltraGridOverride.RowFilterMode resolves to SiblingRowsOnly, then the RowsCollection associated with the column will be passed in. Otherwise it will be null. |
| ValueList | The value list that will be used as the filter drop down. You can add, remove, or modify item on the list. |
You can use the AfterRowFilterDropDownPopulate event to modify the contents of the filter value list. If you want to prevent the list from being populated, use the BeforeRowFilterDropDownPopulate event.