ItemsControl.OnItemContainerStyleSelectorChanged 方法

定义

ItemContainerStyleSelector 属性更改时调用。

protected:
 virtual void OnItemContainerStyleSelectorChanged(System::Windows::Controls::StyleSelector ^ oldItemContainerStyleSelector, System::Windows::Controls::StyleSelector ^ newItemContainerStyleSelector);
protected virtual void OnItemContainerStyleSelectorChanged (System.Windows.Controls.StyleSelector oldItemContainerStyleSelector, System.Windows.Controls.StyleSelector newItemContainerStyleSelector);
abstract member OnItemContainerStyleSelectorChanged : System.Windows.Controls.StyleSelector * System.Windows.Controls.StyleSelector -> unit
override this.OnItemContainerStyleSelectorChanged : System.Windows.Controls.StyleSelector * System.Windows.Controls.StyleSelector -> unit
Protected Overridable Sub OnItemContainerStyleSelectorChanged (oldItemContainerStyleSelector As StyleSelector, newItemContainerStyleSelector As StyleSelector)

参数

oldItemContainerStyleSelector
StyleSelector

ItemContainerStyleSelector 属性的旧值。

newItemContainerStyleSelector
StyleSelector

ItemContainerStyleSelector 属性的新值。

适用于