PropertyValue.OnPropertyValueException Method

Raises the PropertyValueException event.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Protected Overridable Sub OnPropertyValueException ( _
    e As PropertyValueExceptionEventArgs _
)
protected virtual void OnPropertyValueException(
    PropertyValueExceptionEventArgs e
)
protected:
virtual void OnPropertyValueException(
    PropertyValueExceptionEventArgs^ e
)
abstract OnPropertyValueException : 
        e:PropertyValueExceptionEventArgs -> unit 
override OnPropertyValueException : 
        e:PropertyValueExceptionEventArgs -> unit 
protected function OnPropertyValueException(
    e : PropertyValueExceptionEventArgs
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

e is nulla null reference (Nothing in Visual Basic).

Remarks

This method is called by the get and set methods of the Value and StringValue properties when CatchExceptions is true.

.NET Framework Security

See Also

Reference

PropertyValue Class

Microsoft.Windows.Design.PropertyEditing Namespace

PropertyEntry

PropertyValueEditor

Other Resources

WPF Designer Extensibility

Property Editing Architecture