FrameworkTemplate.ValidateTemplatedParent Method

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

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

'Declaration
Protected Overridable Sub ValidateTemplatedParent ( _
	templatedParent As FrameworkElement _
)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft