共用方式為


CategoryEntry.MatchesFilter 屬性

取得或設定值,表示此 CategoryEntry 是否符合篩選條件。

命名空間:  Microsoft.Windows.Design.PropertyEditing
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

'宣告
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)

屬性值

型別:System.Boolean
如果 CategoryEntry 符合篩選條件則為 true,否則為 false。

實作

IPropertyFilterTarget.MatchesFilter

備註

根據 CategoryEntry 是否符合篩選條件而定,這個屬性可用於觸發對 PropertyContainer 所做的變更。 例如,適用的話,主應用程式可以摺疊分類。

ApplyFilter 方法會儲存這個屬性所讀取的資訊。

這個方法會呼叫 OnPropertyChanged 方法。

.NET Framework 安全性

請參閱

參考

CategoryEntry 類別

Microsoft.Windows.Design.PropertyEditing 命名空間

IPropertyFilterTarget

MatchesFilter

其他資源

WPF 設計工具擴充性

屬性編輯架構