TabItem.OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) メソッド

定義

ContentTemplateSelector プロパティが変更されたときに呼び出されます。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)

パラメーター

oldContentTemplateSelector
DataTemplateSelector

コンテンツ テンプレート セレクターの変更前の値。Old value of the content template selector.

newContentTemplateSelector
DataTemplateSelector

コンテンツ テンプレート セレクターの変更後の値。New value of the content template selector.

適用対象