Validation.GetValidationAdornerSiteFor(DependencyObject) 方法

定义

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

public:
 static System::Windows::DependencyObject ^ GetValidationAdornerSiteFor(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.DependencyObject GetValidationAdornerSiteFor (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetValidationAdornerSiteFor : System.Windows.DependencyObject -> System.Windows.DependencyObject
Public Shared Function GetValidationAdornerSiteFor (element As DependencyObject) As DependencyObject

参数

element
DependencyObject

要从其中获取 ValidationAdornerSiteFor 的元素。

返回

DependencyObject

ValidationAdornerSiteFor 的值。

属性

适用于