wpf-devexpress-dot-xpf-dot-grid-dot-excelcolumnfiltersettings.md
Gets or sets a list of filter items displayed within the Excel-style filter.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public IList<object> FilterItems { get; set; }
Public Property FilterItems As IList(Of Object)
| Type | Description |
|---|---|
| IList<Object> |
A list of filter items displayed within the Excel-style filter.
|
You can access this nested property as listed below:
| Object Type | Path to FilterItems |
|---|---|
| FilterPopupEventArgs |
.ExcelColumnFilterSettings .FilterItems
|
Use the FilterItems property to define a custom set of filter items.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FilterItems property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
e.ExcelColumnFilterSettings.AllowedFilterTypes = DevExpress.Xpf.Grid.ExcelColumnFilterType.FilterValues;
e.ExcelColumnFilterSettings.FilterItems = ColumnItemsSource;
}
e.ExcelColumnFilterSettings.AllowedFilterTypes = ExcelColumnFilterType.FilterValues
e.ExcelColumnFilterSettings.FilterItems = ColumnItemsSource
End If
See Also
ExcelColumnFilterSettings Class