Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FilterValue Class

A value or values used in a filter criterion.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public class FilterValue

#Remarks

When you supply a variant value for a filter criteria using the AutoFilterColumn.ApplyCustomFilter, AutoFilterColumn.ApplyDynamicFilter, AutoFilterColumn.ApplyFilterCriteria or the AutoFilterColumn.ApplyTop10Filter methods, the passed values are implicitly converted to the FilterValue object.

If a value filter is applied using the corresponding end-user dialog or the AutoFilterColumn.ApplyFilterCriteria method, an array of string values corresponding to the values of filtered cells is available via the FilterValue.Values property.

If a custom filter is applied using the corresponding end-user dialog or the AutoFilterColumn.ApplyCustomFilter method, an instance of the FilterValue class is available using the CustomFilter.FirstCriteria, CustomFilter.SecondCriteria or the FilterCriteria.Filters properties.

#Inheritance

Object
FilterValue
See Also