Validation.SetValidationAdornerSiteFor(DependencyObject, DependencyObject) Methode

Definition

Legt die angefügte ValidationAdornerSiteFor-Eigenschaft auf den angegebenen Wert für das angegebene Element fest.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)

Parameter

element
DependencyObject

Das Element, für das ValidationAdornerSiteFor festgelegt werden soll.The element on which to set the ValidationAdornerSiteFor.

value
DependencyObject

Die ValidationAdornerSiteFor des angegebenen Elements.The ValidationAdornerSiteFor of the specified element.

Gilt für: