示例#1
0
 /// <summary>
 /// Gets the value of <see cref="ErrorsProperty"/> on <paramref name="dependencyObject"/>.
 /// </summary>
 /// <param name="dependencyObject">Element on which the <see cref="ErrorsProperty"/> property is attached.</param>
 /// <returns>Value of <see cref="ErrorsProperty"/>.</returns>
 public static ObservableCollection <ValidationError> GetErrors(DependencyObject dependencyObject)
 {
     return(DependencyPropertyHelper.GetOrAddValue <ObservableCollection <ValidationError> >(dependencyObject, ErrorsProperty));
 }