Validation.GetErrors(DependencyObject) Validation.GetErrors(DependencyObject) Validation.GetErrors(DependencyObject) Validation.GetErrors(DependencyObject) Method

Definición

Obtiene el valor de la propiedad adjunta Errors del elemento especificado.Gets the value of the Errors attached property of the specified element.

public:
 static System::Collections::ObjectModel::ReadOnlyObservableCollection<System::Windows::Controls::ValidationError ^> ^ GetErrors(System::Windows::DependencyObject ^ element);
public static System.Collections.ObjectModel.ReadOnlyObservableCollection<System.Windows.Controls.ValidationError> GetErrors (System.Windows.DependencyObject element);
static member GetErrors : System.Windows.DependencyObject -> System.Collections.ObjectModel.ReadOnlyObservableCollection<System.Windows.Controls.ValidationError>
Public Shared Function GetErrors (element As DependencyObject) As ReadOnlyObservableCollection(Of ValidationError)

Parámetros

element
DependencyObject DependencyObject DependencyObject DependencyObject

Objeto UIElement o ContentElement del que se va a leer el valor.The UIElement or ContentElement object to read the value from.

Devoluciones

Excepciones

Se aplica a