Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataTemplate.ValidateTemplatedParent Method

Checks the templated parent against a set of rules.

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

protected override void ValidateTemplatedParent(
	FrameworkElement templatedParent
)

Parameters

templatedParent
Type: System.Windows.FrameworkElement

The element this template is applied to.

The method uses the following rules:

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft