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
- predicate
Type: Microsoft.Windows.Design.PropertyEditing.PropertyFilterPredicate
The predicate to compare to.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace