DataTemplate.ValidateTemplatedParent(FrameworkElement) 方法

定義

請依一組規則來檢查樣版化父代 (Parent)。

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)

參數

templatedParent
FrameworkElement

這個樣板要套用的項目。

備註

方法會使用下列規則:

適用於