共用方式為


CategoryEntry.MatchesPredicate 方法

在衍生類別中覆寫時,指出 CategoryEntry 是否符合述詞。

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

語法

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

參數

傳回值

型別:System.Boolean
如果 CategoryEntry 符合述詞則為 true,否則為 false。

實作

IPropertyFilterTarget.MatchesPredicate(PropertyFilterPredicate)

備註

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

.NET Framework 安全性

請參閱

參考

CategoryEntry 類別

Microsoft.Windows.Design.PropertyEditing 命名空間

IPropertyFilterTarget

MatchesPredicate

其他資源

WPF 設計工具擴充性

屬性編輯架構