ItemsControl.OnItemTemplateChanged(DataTemplate, DataTemplate) ItemsControl.OnItemTemplateChanged(DataTemplate, DataTemplate) ItemsControl.OnItemTemplateChanged(DataTemplate, DataTemplate) ItemsControl.OnItemTemplateChanged(DataTemplate, DataTemplate) Method

定義

ItemTemplate プロパティが変更された時点で呼び出されます。Invoked when the ItemTemplate property changes.

protected:
 virtual void OnItemTemplateChanged(System::Windows::DataTemplate ^ oldItemTemplate, System::Windows::DataTemplate ^ newItemTemplate);
protected virtual void OnItemTemplateChanged (System.Windows.DataTemplate oldItemTemplate, System.Windows.DataTemplate newItemTemplate);
abstract member OnItemTemplateChanged : System.Windows.DataTemplate * System.Windows.DataTemplate -> unit
override this.OnItemTemplateChanged : System.Windows.DataTemplate * System.Windows.DataTemplate -> unit
Protected Overridable Sub OnItemTemplateChanged (oldItemTemplate As DataTemplate, newItemTemplate As DataTemplate)

パラメーター

oldItemTemplate
DataTemplate DataTemplate DataTemplate DataTemplate

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

newItemTemplate
DataTemplate DataTemplate DataTemplate DataTemplate

変更後の ItemTemplate プロパティ値。The new ItemTemplate property value.

適用対象