Compartilhar via


ItemsPresenter.OnTemplateChanged Método

Definição

É chamado quando o modelo de controle é alterado.

protected:
 virtual void OnTemplateChanged(System::Windows::Controls::ItemsPanelTemplate ^ oldTemplate, System::Windows::Controls::ItemsPanelTemplate ^ newTemplate);
protected virtual void OnTemplateChanged (System.Windows.Controls.ItemsPanelTemplate oldTemplate, System.Windows.Controls.ItemsPanelTemplate newTemplate);
abstract member OnTemplateChanged : System.Windows.Controls.ItemsPanelTemplate * System.Windows.Controls.ItemsPanelTemplate -> unit
override this.OnTemplateChanged : System.Windows.Controls.ItemsPanelTemplate * System.Windows.Controls.ItemsPanelTemplate -> unit
Protected Overridable Sub OnTemplateChanged (oldTemplate As ItemsPanelTemplate, newTemplate As ItemsPanelTemplate)

Parâmetros

oldTemplate
ItemsPanelTemplate

O valor do modelo antigo.

newTemplate
ItemsPanelTemplate

O valor do novo modelo.

Aplica-se a