FrameworkTemplate::ValidateTemplatedParent Method (FrameworkElement^)

 

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:
virtual void ValidateTemplatedParent(
	FrameworkElement^ templatedParent
)

Parameters

templatedParent
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
Show: