Validation.GetValidationAdornerSite(DependencyObject) 方法

定义

获取指定元素的 ValidationAdornerSite 附加属性值。

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

参数

element
DependencyObject

要从其中获取 ValidationAdornerSite 的元素。

返回

ValidationAdornerSite 的值。

属性

适用于