FrameworkTemplate.ValidateTemplatedParent Method (FrameworkElement)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

When overridden in a derived class, supplies rules for the element this template is applied to.

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

Protected Overridable Sub ValidateTemplatedParent (
	templatedParent As FrameworkElement


Type: System.Windows.FrameworkElement

The element this template is applied to.

The base implementation specifies that the templated parent must be a non-null FrameworkElement.

.NET Framework
Available since 3.0
Return to top