PropertyValue.PropertyValueException 事件

更新:2007 年 11 月

表示用来处理 PropertyValue 的 PropertyValueException 事件的方法。

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

语法

声明
Public Event PropertyValueException As EventHandler(Of PropertyValueExceptionEventArgs)
用法
Dim instance As PropertyValue
Dim handler As EventHandler(Of PropertyValueExceptionEventArgs)

AddHandler instance.PropertyValueException, handler
public event EventHandler<PropertyValueExceptionEventArgs> PropertyValueException
public:
 event EventHandler<PropertyValueExceptionEventArgs^>^ PropertyValueException {
    void add (EventHandler<PropertyValueExceptionEventArgs^>^ value);
    void remove (EventHandler<PropertyValueExceptionEventArgs^>^ value);
}
JScript 不支持事件。

备注

此事件由 OnPropertyValueException 方法引发。

权限

另请参见

参考

PropertyValue 类

PropertyValue 成员

Microsoft.Windows.Design.PropertyEditing 命名空间

PropertyEntry

PropertyValueEditor

其他资源

WPF 设计器扩展性

属性编辑体系结构