Gu.Wpf.NumericInput icon indicating copy to clipboard operation
Gu.Wpf.NumericInput copied to clipboard

ErrorStrategy

Open JohanLarsson opened this issue 9 years ago • 1 comments

  • ResetValue
  • PassToBindingSource

JohanLarsson avatar Jul 08 '16 14:07 JohanLarsson

/// <summary>
/// Controls how validation errors are handled.
/// </summary>
public enum ValidationErrorUpdateMode
{
    /// <summary>
    /// Resets the value, not the view. This asserts that the invalid value will not be sent to the binding source on lost focus.
    /// </summary>
    Reset,

    /// <summary>
    /// Update the binding source with the invalid value. When this happens will depend on the bindings UpdateSourceTrigger
    /// </summary>
    UpdateSource
}

JohanLarsson avatar Jun 21 '17 19:06 JohanLarsson