IDataFilter Interface
Provides the base requirements for an object that can filter data.
public interface IDataFilter
Properties
IsEnabled
Gets or sets whether the filter is enabled.
Methods
Filter(object, object)
Examines the specified item to see if meets filter conditions.
DataFilterResult Filter(object item, object context)
Parameter | Type | Description |
---|---|---|
item | object | The item to examine. |
context | object | An optional object that provides contextual information for the filter request. |
Returns
- DataFilterResult:
A DataFilterResult that indicates the filter result.
Events
FilterChanged
Occurs when the filter has changed and should be reapplied.