GetErrors Method
GetErrors(DependencyObject)
Static accessor for Validation.Errors property
Declaration
public static ReadOnlyObservableCollection<ValidationError> GetErrors(DependencyObject element)
Parameters
Type | Name | Description |
---|---|---|
DependencyObject | element |
Returns
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyObservableCollection<ValidationError> |
Remarks
The application cannot modify the content of this collection.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | DependencyObject element cannot be null |