DataTemplate.ValidateTemplatedParent(FrameworkElement) Method

Definition

Checks the templated parent against a set of rules.

protected:
 override void ValidateTemplatedParent(System::Windows::FrameworkElement ^ templatedParent);
protected override void ValidateTemplatedParent (System.Windows.FrameworkElement templatedParent);
override this.ValidateTemplatedParent : System.Windows.FrameworkElement -> unit
Protected Overrides Sub ValidateTemplatedParent (templatedParent As FrameworkElement)

Parameters

templatedParent
FrameworkElement

The element this template is applied to.

Remarks

The method uses the following rules:

Applies to