ContentPresenter.OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) ContentPresenter.OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) ContentPresenter.OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) ContentPresenter.OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) Method

定義

ContentTemplateSelector プロパティが変更されたときに発生します。Invoked 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 DataTemplateSelector DataTemplateSelector DataTemplateSelector

ContentTemplateSelector プロパティの変更前の値。The old value of the ContentTemplateSelector property.

newContentTemplateSelector
DataTemplateSelector DataTemplateSelector DataTemplateSelector DataTemplateSelector

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

適用対象