Επεξεργασία

Κοινή χρήση μέσω


DataGrid.OnTemplateChanged(ControlTemplate, ControlTemplate) Method

Definition

Called whenever the template of the DataGrid changes.

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)

Parameters

oldTemplate
ControlTemplate

The old template.

newTemplate
ControlTemplate

The new template.

Applies to

See also