Sdílet prostřednictvím


ItemsPresenter.OnTemplateChanged Metoda

Definice

Volá se při změně šablony ovládacího prvku.

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)

Parametry

oldTemplate
ItemsPanelTemplate

Hodnota staré šablony

newTemplate
ItemsPanelTemplate

Hodnota nové šablony

Platí pro