Dela via


ItemsControl.OnItemContainerStyleChanged(Style, Style) Method

Definition

Invoked when the value of the ItemContainerStyle property changes.

protected:
 virtual void OnItemContainerStyleChanged(Style ^ oldItemContainerStyle, Style ^ newItemContainerStyle) = OnItemContainerStyleChanged;
void OnItemContainerStyleChanged(Style const& oldItemContainerStyle, Style const& newItemContainerStyle);
protected virtual void OnItemContainerStyleChanged(Style oldItemContainerStyle, Style newItemContainerStyle);
function onItemContainerStyleChanged(oldItemContainerStyle, newItemContainerStyle)
Protected Overridable Sub OnItemContainerStyleChanged (oldItemContainerStyle As Style, newItemContainerStyle As Style)

Parameters

oldItemContainerStyle
Style

The previous value of the ItemContainerStyle property.

newItemContainerStyle
Style

The current value of the ItemContainerStyle property.

Applies to