TreeListView.CustomFilterPopupList Event
Enables you to filter unique values displayed within a column’s Drop-down Filter.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v22.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Event Data
The CustomFilterPopupList event's data class is CustomColumnFilterListEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Column | Gets or sets a column which owns the processed cell. |
Node | Gets or sets a node which contains the processed cell. |
Visible | Gets or sets whether the processed value is displayed within a column’s Drop-down Filter. |
Remarks
The CustomFilterPopupList event is raised before a column’s Drop-down Filter is populated with unique values. This event is raised for each value displayed within the processed column allowing it to be hidden from the list.
The event parameter’s CustomColumnFilterListEventArgs.Node and CustomColumnFilterListEventArgs.Column properties specify the processed node and column, respectively. To obtain the processed value, use the TreeListView.GetNodeValue method. To hide a value from the list, set the CustomColumnFilterListEventArgs.Visible property to false.