In This Article

PropertyModelBooleanFilter Class

Represents a IDataFilter implementation for IPropertyModel boolean properties.

public class PropertyModelBooleanFilter : BooleanFilterBase, IDataFilter
Inheritance:
object DataFilterBase BooleanFilterBase object
Implements:
IDataFilter

Constructors

PropertyModelBooleanFilter()

Initializes an instance of the class.

public PropertyModelBooleanFilter()

Properties

Source

The IPropertyModel boolean property to examine with this filter.

public PropertyModelBooleanFilterSource Source { get; set; }

Property Value

PropertyModelBooleanFilterSource:

The default value is IsReadOnly.

Methods

Filter(object, object?)

Examines the specified item to see if meets filter conditions.

public override 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.

Fields

SourceProperty

Defines the Source property.

public static readonly DependencyProperty SourceProperty

Inherited Members

Extension Methods