ItemsControl.OnItemTemplateSelectorChanged Methode

Definition

Wird aufgerufen, wenn sich der Wert der ItemTemplateSelector-Eigenschaft ändert.

void OnItemTemplateSelectorChanged(DataTemplateSelector const& oldItemTemplateSelector, DataTemplateSelector const& newItemTemplateSelector);
protected virtual void OnItemTemplateSelectorChanged(DataTemplateSelector oldItemTemplateSelector, DataTemplateSelector newItemTemplateSelector);
function onItemTemplateSelectorChanged(oldItemTemplateSelector, newItemTemplateSelector)
Protected Overridable Sub OnItemTemplateSelectorChanged (oldItemTemplateSelector As DataTemplateSelector, newItemTemplateSelector As DataTemplateSelector)

Parameter

oldItemTemplateSelector
DataTemplateSelector

Der vorherige Wert der ItemTemplateSelector-Eigenschaft .

newItemTemplateSelector
DataTemplateSelector

Der aktuelle Wert der ItemTemplateSelector-Eigenschaft .

Gilt für: