Пример #1
0
 protected void ValidateProperty(ShortcutProperty prop, [CallerMemberName] string propertyName = null)
 {
     foreach (KeyValuePair <string, bool> pair in prop.Errors)
     {
         if (pair.Value)
         {
             base.AddError(pair.Key, propertyName);
         }
         else
         {
             base.RemoveError(pair.Key, propertyName);
         }
     }
 }
 set => SetValue(ShortcutProperty, value);
Пример #3
0
 set => this.SetValue(ShortcutProperty, value);