Exemplo n.º 1
0
 public void Revalidate(
     IVMPropertyDescriptor property,
     ValidationScope scope = ValidationScope.Self
     )
 {
     Revalidator.RevalidatePropertyValidations(_vm, property, scope);
 }
Exemplo n.º 2
0
        internal void RefreshInternal(IVMPropertyDescriptor property, RefreshOptions options)
        {
            _descriptor.Behaviors.ViewModelRefreshNext(this, property, options);

            // Refresh does not revalidate the property value itself. Descendants are
            // automatically validated by the appropriate behaviors.
            Revalidator.RevalidatePropertyValidations(
                _vm,
                property,
                ValidationScope.Self
                );
        }