Compartir a través de


ItemsControl.OnItemTemplateSelectorChanged Método

Definición

Se invoca cuando cambia la propiedad ItemTemplateSelector.

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)

Parámetros

oldItemTemplateSelector
DataTemplateSelector

Valor anterior de la propiedad ItemTemplateSelector.

newItemTemplateSelector
DataTemplateSelector

Valor nuevo de la propiedad ItemTemplateSelector.

Se aplica a