Edit

Kongsi melalui


Validation.SetValidationAdornerSiteFor Method

Definition

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

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

Parameters

element
DependencyObject

The element on which to set the ValidationAdornerSiteFor.

value
DependencyObject

The ValidationAdornerSiteFor of the specified element.

Applies to