ItemsControl.OnItemTemplateChanged(DataTemplate, DataTemplate) Метод

Определение

Вызывается при изменении свойства 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

Старое значение свойства ItemTemplate.The old ItemTemplate property value.

newItemTemplate
DataTemplate

Новое значение свойства ItemTemplate.The new ItemTemplate property value.

Применяется к