DataTemplate::ValidateTemplatedParent Method (FrameworkElement^)
.NET Framework (current version)
Checks the templated parent against a set of rules.
Assembly: PresentationFramework (in PresentationFramework.dll)
protected: virtual void ValidateTemplatedParent( FrameworkElement^ templatedParent ) override
Parameters
- templatedParent
-
Type:
System.Windows::FrameworkElement^
The element this template is applied to.
The method uses the following rules:
The templatedParent must be a non-null FrameworkElement.
The DataTemplate must be applied to a ContentPresenter.
.NET Framework
Available since 3.0
Available since 3.0
Show: