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 屬性的目前值。