CategoryEntry.MatchesPredicate-Methode

Gibt beim Überschreiben in einer abgeleiteten Klasse an, ob ein CategoryEntry mit einem Prädikat übereinstimmt.

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

Parameter

Rückgabewert

Typ: System.Boolean
true, wenn CategoryEntry mit dem Prädikat übereinstimmt, andernfalls false.

Implementiert

IPropertyFilterTarget.MatchesPredicate(PropertyFilterPredicate)

Hinweise

Diese Eigenschaft kann zum Auslösen von Änderungen am PropertyContainer verwendet werden, je nachdem, ob ein CategoryEntry mit einem Prädikat übereinstimmt oder nicht. Zum Beispiel kann der Host die Kategorie bei Bedarf reduzieren.

.NET Framework-Sicherheit

Siehe auch

Referenz

CategoryEntry Klasse

Microsoft.Windows.Design.PropertyEditing-Namespace

IPropertyFilterTarget

MatchesPredicate

Weitere Ressourcen

WPF-Designer-Erweiterbarkeit

Eigenschaftenbearbeitungsarchitektur