共用方式為


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 的項目。

傳回

DependencyObject

ValidationAdornerSite 的值。

屬性

適用於