Share via


CategoryEntry.MatchesFilter Property

Gets or sets a value indicating whether this CategoryEntry matches a filter.

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

Syntax

'Declaration
Public Overridable Property MatchesFilter As Boolean
    Get
    Protected Set
public virtual bool MatchesFilter { get; protected set; }
public:
virtual property bool MatchesFilter {
    bool get ();
    protected: void set (bool value);
}
abstract MatchesFilter : bool with get, set
override MatchesFilter : bool with get, set
function get MatchesFilter () : boolean
protected function set MatchesFilter (value : boolean)

Property Value

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

Implements

IPropertyFilterTarget.MatchesFilter

Remarks

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

The information read by this property is stored by the ApplyFilter method.

This method calls the OnPropertyChanged method.

.NET Framework Security

See Also

Reference

CategoryEntry Class

Microsoft.Windows.Design.PropertyEditing Namespace

IPropertyFilterTarget

MatchesFilter

Other Resources

WPF Designer Extensibility

Property Editing Architecture