ItemsControl.OnItemTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) Метод

Определение

Вызывается при изменении свойства ItemTemplateSelector.Invoked when the ItemTemplateSelector property changes.

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

Параметры

oldItemTemplateSelector
DataTemplateSelector

Старое значение свойства ItemTemplateSelector .Old value of the ItemTemplateSelector property.

newItemTemplateSelector
DataTemplateSelector

Новое значение свойства ItemTemplateSelector.New value of the ItemTemplateSelector property.

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