Validation.GetHasError(DependencyObject) Validation.GetHasError(DependencyObject) Validation.GetHasError(DependencyObject) Validation.GetHasError(DependencyObject) Method

Definición

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

public:
 static bool GetHasError(System::Windows::DependencyObject ^ element);
public static bool GetHasError (System.Windows.DependencyObject element);
static member GetHasError : System.Windows.DependencyObject -> bool
Public Shared Function GetHasError (element As DependencyObject) As Boolean

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

Valor de la propiedad adjunta HasError del elemento especificado.The value of the HasError attached property of the specified element.

Excepciones

Se aplica a