In This Article

PropertyModelStringFilter Class

Represents a IDataFilter implementation for IPropertyModel string properties.

public class PropertyModelStringFilter : StringFilterBase, IDataFilter
Inheritance:
object DataFilterBase StringFilterBase object
Implements:
IDataFilter

Constructors

PropertyModelStringFilter()

Initializes an instance of the class.

public PropertyModelStringFilter()

Properties

Source

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

public PropertyModelStringFilterSource Source { get; set; }

Property Value

PropertyModelStringFilterSource:

The IPropertyModel string property to examine with this filter. The default value is PropertyModelStringFilterSource.DisplayName.

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