Share via


CategoryEntry.MatchesPredicate Method

When overridden in a derived class, indicates whether a CategoryEntry matches a predicate.

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

Syntax

'Declaration
Public MustOverride Function MatchesPredicate ( _
    predicate As PropertyFilterPredicate _
) As Boolean
public abstract bool MatchesPredicate(
    PropertyFilterPredicate predicate
)
public:
virtual bool MatchesPredicate(
    PropertyFilterPredicate^ predicate
) abstract
abstract MatchesPredicate : 
        predicate:PropertyFilterPredicate -> bool 
public abstract function MatchesPredicate(
    predicate : PropertyFilterPredicate
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the CategoryEntry matches the predicate; otherwise, false.

Implements

IPropertyFilterTarget.MatchesPredicate(PropertyFilterPredicate)

Remarks

This property can be used to trigger changes to the PropertyContainer depending on whether a CategoryEntry matches a predicate or not. For example, the host can collapse the category if appropriate.

.NET Framework Security

See Also

Reference

CategoryEntry Class

Microsoft.Windows.Design.PropertyEditing Namespace

IPropertyFilterTarget

MatchesPredicate

Other Resources

WPF Designer Extensibility

Property Editing Architecture