Metodo PropertyValue.OnPropertyValueException

Genera l'evento PropertyValueException.

Spazio dei nomi:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Sintassi

'Dichiarazione
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
)

Parametri

Eccezioni

Eccezione Condizione
ArgumentNullException

e è nullriferimento null (Nothing in Visual Basic).

Note

Questo metodo viene chiamato dai metodi get e set delle proprietà Value e StringValue quando l'oggetto CatchExceptions è true.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

PropertyValue Classe

Spazio dei nomi Microsoft.Windows.Design.PropertyEditing

PropertyEntry

PropertyValueEditor

Altre risorse

Estensibilità di Progettazione WPF

Architettura di modifica delle proprietà