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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.PropertyEditing 命名空間