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

定義

ContentTemplateSelector プロパティが変更されたときに呼び出されます。Called when the ContentTemplateSelector property changes.

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

パラメーター

oldContentTemplateSelector
DataTemplateSelector

ContentTemplateSelector プロパティの古い値。The old value of the ContentTemplateSelector property.

newContentTemplateSelector
DataTemplateSelector

ContentTemplateSelector プロパティの新しい値。The new value of the ContentTemplateSelector property.

適用対象