Skip to main content
A newer version of this page is available. .

ExcelFilteringDataEventArgs.RemoveData(Object) Method

Removes the specified data value by which the column being processed can be filtered from the filter popup.

Namespace: DevExpress.XtraEditors.Filtering

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public bool RemoveData(
    object value
)

Parameters

Name Type Description
value Object

The data value to remove from the filter popup.

Returns

Type Description
Boolean

true, if the specified data value is successfully removed from the filter popup; otherwise, false.

Remarks

The RemoveData method removes the specified item from the ExcelFilteringDataEventArgs.DataItems collection. The code snippet below removes a particular string data value by which the column being processed can be filtered form the filter popup.


e.RemoveData("Touareg");
See Also