ItemsPanelTemplate.ValidateTemplatedParent(FrameworkElement) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Verifica che l'elemento padre basato su modelli sia un oggetto non Null ItemsPresenter .
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)
Parametri
- templatedParent
- FrameworkElement
L'elemento a cui viene applicato questo modello. Deve essere un ItemsPresenter oggetto .
Eccezioni
templatedParent è null.
templatedParent non è un oggetto ItemsPresenter.
Commenti
Il metodo usa le regole seguenti:
L'oggetto
templatedParentnon può esserenull.Deve
templatedParentessere un oggetto ItemsPresenter.