Share via


PropertyFilter.Match Method

Compares this filter with a particular filter target.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Function Match ( _
    target As IPropertyFilterTarget _
) As Boolean
public bool Match(
    IPropertyFilterTarget target
)
public:
bool Match(
    IPropertyFilterTarget^ target
)
member Match : 
        target:IPropertyFilterTarget -> bool 
public function Match(
    target : IPropertyFilterTarget
) : boolean

Parameters

Return Value

Type: System.Boolean
true if there are no predicates or if one or more predicates match the filter target; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

target is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

PropertyFilter Class

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture