Validation.SetValidationAdornerSiteFor Method (DependencyObject, DependencyObject)

 

Sets the ValidationAdornerSiteFor attached property to the specified value on the specified element.

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

Public Shared Sub SetValidationAdornerSiteFor (
	element As DependencyObject,
	value As DependencyObject
)

Parameters

element
Type: System.Windows.DependencyObject

The element on which to set the ValidationAdornerSiteFor.

value
Type: System.Windows.DependencyObject

The ValidationAdornerSiteFor of the specified element.

.NET Framework
Available since 3.0
Return to top
Show: