ItemsControl.OnItemContainerStyleSelectorChanged 方法

定义

ItemContainerStyleSelector 属性的值更改时调用。

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)

参数

oldItemContainerStyleSelector
StyleSelector

ItemContainerStyleSelector 属性的上一个值。

newItemContainerStyleSelector
StyleSelector

ItemContainerStyleSelector 属性的当前值。

适用于