Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ErrorStrategy #21

Open
JohanLarsson opened this issue Jul 8, 2016 · 1 comment
Open

ErrorStrategy #21

JohanLarsson opened this issue Jul 8, 2016 · 1 comment

Comments

@JohanLarsson
Copy link
Member

  • ResetValue
  • PassToBindingSource
@JohanLarsson
Copy link
Member Author

JohanLarsson commented Jun 21, 2017

/// <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
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant