編輯

共用方式為


Validation.GetValidationAdornerSiteFor(DependencyObject) Method

Definition

Gets the value of the ValidationAdornerSiteFor attached property for the specified element.

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

Parameters

element
DependencyObject

The element from which to get the ValidationAdornerSiteFor.

Returns

The value of the ValidationAdornerSiteFor.

Attributes

Applies to