Validation.SetValidationAdornerSite(DependencyObject, DependencyObject) Method

Definition

Sets the ValidationAdornerSite attached property to the specified value on the specified element.

public:
 static void SetValidationAdornerSite(System::Windows::DependencyObject ^ element, System::Windows::DependencyObject ^ value);
public static void SetValidationAdornerSite (System.Windows.DependencyObject element, System.Windows.DependencyObject value);
static member SetValidationAdornerSite : System.Windows.DependencyObject * System.Windows.DependencyObject -> unit
Public Shared Sub SetValidationAdornerSite (element As DependencyObject, value As DependencyObject)

Parameters

element
DependencyObject

The element on which to set the ValidationAdornerSite.

value
DependencyObject

The ValidationAdornerSite of the specified element.

Applies to