Back to Devexpress

ExcelFilteringDataEventArgs.RemoveData(Object) Method

windowsforms-devexpress-dot-xtraeditors-dot-filtering-dot-excelfilteringdataeventargs-dot-removedata-x28-system-dot-object-x29.md

latest2.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public bool RemoveData(
    object value
)
vb
Public Function RemoveData(
    value As Object
) As Boolean

Parameters

NameTypeDescription
valueObject

The data value to remove from the filter popup.

|

Returns

TypeDescription
Boolean

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

|

Remarks

The RemoveData method removes the specified data value from the ExcelFilteringDataEventArgs.DataItems collection.

csharp
e.RemoveData("Touareg");
vb
e.RemoveData("Touareg")

See Also

DataItems

ClearData()

ExcelFilteringDataEventArgs Class

ExcelFilteringDataEventArgs Members

DevExpress.XtraEditors.Filtering Namespace