TabItem.OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) TabItem.OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) TabItem.OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) TabItem.OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) 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 DataTemplateSelector DataTemplateSelector DataTemplateSelector

Old value of the content template selector.

newContentTemplateSelector
DataTemplateSelector DataTemplateSelector DataTemplateSelector DataTemplateSelector

New value of the content template selector.

Applies to