GetValidationAdornerSiteFor Method

Validation.GetValidationAdornerSiteFor Method (DependencyObject)

.NET Framework (current version)

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

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public Shared Function GetValidationAdornerSiteFor (
	element As DependencyObject
) As DependencyObject


Type: System.Windows.DependencyObject

The element from which to get the ValidationAdornerSiteFor.

Return Value

Type: System.Windows.DependencyObject

The value of the ValidationAdornerSiteFor.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft