Dela 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 (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Public Overridable Property MatchesFilter As Boolean
'Usage
Dim instance As CategoryEntry 
Dim value As Boolean 

value = instance.MatchesFilter

instance.MatchesFilter = value
public virtual bool MatchesFilter { get; protected set; }
public:
virtual property bool MatchesFilter {
    bool get ();
    void set (bool value);
}
public function get MatchesFilter () : boolean 
public 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

CategoryEntry Members

Microsoft.Windows.Design.PropertyEditing Namespace

IPropertyFilterTarget

MatchesFilter

Other Resources

WPF Designer Extensibility

Property Editing Architecture