共用方式為


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 的值。

屬性

適用於