What happened to ValidatableBindableBase?

Aug 30, 2014 at 9:36 AM
It used to work rather well, but after upgrading Prism.StoreApps from 1.1.0 to 2.0.0 it disappeared. There is ErrorsContainer that is also available in the WPF version, but it needs more plumbing.

I could not find any rationale for removing it and the suggested way of replacing it. Is there a 2.0.0 changelist I missed?
Oct 27, 2014 at 4:14 AM
I believe this was removed from the Windows Runtime version due to the runtime not supporting DataAnnotations.

I wrote a work-around for this that you can use. It provides full attribute-based validation support to Universal Apps.
        [ValidateStringIsGreaterThan(GreaterThanValue = 6, 
            FailureMessage = "Password must be greater than 6 characters.", 
            ValidationMessageType = typeof(ValidationErrorMessage))]
        [ValidateStringIsLessThan(LessThanValue = 20, 
            FailureMessage = "Password must be less than 20 characters.", 
            ValidationMessageType = typeof(ValidationErrorMessage))]
        public string Password
        {
            get
            {
                return this.password;
            }

            set
            {
                this.password = value;
                this.OnPropertyChanged("Password");
            }
        }
You can download ValidatableBase and use it if you want easy to use validation in Universal Apps.