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

Gets or sets the IPropertyModel boolean property to examine with this filter.

public PropertyModelBooleanFilterSource Source { get; set; }

Property Value

PropertyModelBooleanFilterSource:

The IPropertyModel boolean property to examine with this filter. The default value is PropertyModelBooleanFilterSource.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

Identifies the Source dependency property. This field is read-only.

public static readonly DependencyProperty SourceProperty

Inherited Members