Udostępnij za pośrednictwem


ItemsControl.OnItemContainerStyleSelectorChanged Method

Definition

Invoked when the value of the ItemContainerStyleSelector property changes.

void OnItemContainerStyleSelectorChanged(StyleSelector const& oldItemContainerStyleSelector, StyleSelector const& newItemContainerStyleSelector);
protected virtual void OnItemContainerStyleSelectorChanged(StyleSelector oldItemContainerStyleSelector, StyleSelector newItemContainerStyleSelector);
function onItemContainerStyleSelectorChanged(oldItemContainerStyleSelector, newItemContainerStyleSelector)
Protected Overridable Sub OnItemContainerStyleSelectorChanged (oldItemContainerStyleSelector As StyleSelector, newItemContainerStyleSelector As StyleSelector)

Parameters

oldItemContainerStyleSelector
StyleSelector

The previous value of the ItemContainerStyleSelector property.

newItemContainerStyleSelector
StyleSelector

The current value of the ItemContainerStyleSelector property.

Applies to