/// <summary> /// Initializes a new instance of the <see cref="ValueExceptionEventArgs"/> class. /// </summary> /// <param name="message">The message.</param> /// <param name="value">The value.</param> /// <param name="source">The source.</param> /// <param name="exception">The exception.</param> public ValueExceptionEventArgs(string message, PropertyItemValue value, ValueExceptionSource source, Exception exception) { if (message == null) { throw new ArgumentNullException("message"); } if (value == null) { throw new ArgumentNullException("value"); } if (exception == null) { throw new ArgumentNullException("exception"); } _message = message; _value = value; _source = source; _exception = exception; }
/// <summary> /// Initializes a new instance of the <see cref="PropertyItem"/> class. /// </summary> /// <param name="parentValue">The parent value.</param> protected PropertyItem(PropertyItemValue parentValue) { _parentValue = parentValue; }
/// <summary> /// Shows the dialog for editing property value. /// </summary> /// <param name="propertyValue">The property value.</param> /// <param name="commandSource">The command source.</param> public virtual void ShowDialog(PropertyItemValue propertyValue, IInputElement commandSource) { }