A newer version of this page is available. Switch to the current version.

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.v19.1.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