ItemsControl.OnItemTemplateSelectorChanged Méthode

Définition

Appelé quand la propriété ItemTemplateSelector est modifiée.

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)

Paramètres

oldItemTemplateSelector
DataTemplateSelector

Ancienne valeur de la propriété ItemTemplateSelector.

newItemTemplateSelector
DataTemplateSelector

Nouvelle valeur de la propriété ItemTemplateSelector.

S’applique à