DataGrid.OnTemplateChanged(ControlTemplate, ControlTemplate) Método

Definição

Chamado sempre que o modelo do DataGrid é alterado.

protected:
 override void OnTemplateChanged(System::Windows::Controls::ControlTemplate ^ oldTemplate, System::Windows::Controls::ControlTemplate ^ newTemplate);
protected override void OnTemplateChanged (System.Windows.Controls.ControlTemplate oldTemplate, System.Windows.Controls.ControlTemplate newTemplate);
override this.OnTemplateChanged : System.Windows.Controls.ControlTemplate * System.Windows.Controls.ControlTemplate -> unit
Protected Overrides Sub OnTemplateChanged (oldTemplate As ControlTemplate, newTemplate As ControlTemplate)

Parâmetros

oldTemplate
ControlTemplate

O modelo antigo.

newTemplate
ControlTemplate

O novo modelo.

Aplica-se a

Confira também