Validation.SetValidationAdornerSite 方法

定义

ValidationAdornerSite 附加属性设置为指定元素上的指定值。

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)

参数

element
DependencyObject

要设置其 ValidationAdornerSite 的元素。

value
DependencyObject

指定元素的 ValidationAdornerSite

适用于