Validation.GetValidationAdornerSite(DependencyObject) Method

Definition

Gets the value of the ValidationAdornerSite attached property for the specified element.

public:
 static System::Windows::DependencyObject ^ GetValidationAdornerSite(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.DependencyObject GetValidationAdornerSite (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetValidationAdornerSite : System.Windows.DependencyObject -> System.Windows.DependencyObject
Public Shared Function GetValidationAdornerSite (element As DependencyObject) As DependencyObject

Parameters

element
DependencyObject

The element from which to get the ValidationAdornerSite.

Returns

DependencyObject

The value of the ValidationAdornerSite.

Attributes

Applies to