Επεξεργασία

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


TabItem.OnContentTemplateSelectorChanged Method

Definition

Called when the ContentTemplateSelector property changes.

protected:
 override void OnContentTemplateSelectorChanged(System::Windows::Controls::DataTemplateSelector ^ oldContentTemplateSelector, System::Windows::Controls::DataTemplateSelector ^ newContentTemplateSelector);
protected override void OnContentTemplateSelectorChanged (System.Windows.Controls.DataTemplateSelector oldContentTemplateSelector, System.Windows.Controls.DataTemplateSelector newContentTemplateSelector);
override this.OnContentTemplateSelectorChanged : System.Windows.Controls.DataTemplateSelector * System.Windows.Controls.DataTemplateSelector -> unit
Protected Overrides Sub OnContentTemplateSelectorChanged (oldContentTemplateSelector As DataTemplateSelector, newContentTemplateSelector As DataTemplateSelector)

Parameters

oldContentTemplateSelector
DataTemplateSelector

Old value of the content template selector.

newContentTemplateSelector
DataTemplateSelector

New value of the content template selector.

Applies to