PropertyContainer.MatchesFilter 属性

获取包含的 PropertyEntry 中存储的 MatchesFilter 的值。

命名空间:  Microsoft.Windows.Design.PropertyEditing
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public ReadOnly Property MatchesFilter As Boolean
    Get
public bool MatchesFilter { get; }
public:
property bool MatchesFilter {
    bool get ();
}
member MatchesFilter : bool
function get MatchesFilter () : boolean

属性值

类型:System.Boolean
包含的 PropertyEntry 中存储的 MatchesFilter 的值。

备注

如果 PropertyEntry 为 nullnull 引用(在 Visual Basic 中为 Nothing),则返回值为 false。

根据当前 PropertyEntry 与当前筛选器是否匹配,此属性可用于触发对 PropertyContainer 的 UI 更改。

.NET Framework 安全性

请参见

参考

PropertyContainer 类

Microsoft.Windows.Design.PropertyEditing 命名空间

其他资源

WPF 设计器扩展性

属性编辑体系结构