ExcelFilteringDataEventArgs.DataItems Property
Provides access to the collection of data values by which the column being processed can be filtered, and the corresponding display texts.
Namespace: DevExpress.XtraEditors.Filtering
Assembly: DevExpress.XtraEditors.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
List<DevExpress.XtraEditors.Filtering.ExcelFilterDataItem> | A List<T><DevExpress.XtraEditors.Filtering.ExcelFilterDataItem,> object specifying the collection of data values by which the column being processed can be filtered. |
Remarks
The code snippet below shows how to remove all items except for the first five from the DataItems collection.
You can also use the ExcelFilteringDataEventArgs.AddData and ExcelFilteringDataEventArgs.RemoveData methods to handle the collection’s items.
See Also