ItemsControl.OnItemContainerStyleSelectorChanged 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在 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 属性的当前值。