ItemsControl.OnItemContainerStyleChanged(Style, Style) 方法

定义

ItemContainerStyle 属性更改时调用。

protected:
 virtual void OnItemContainerStyleChanged(System::Windows::Style ^ oldItemContainerStyle, System::Windows::Style ^ newItemContainerStyle);
protected virtual void OnItemContainerStyleChanged (System.Windows.Style oldItemContainerStyle, System.Windows.Style newItemContainerStyle);
abstract member OnItemContainerStyleChanged : System.Windows.Style * System.Windows.Style -> unit
override this.OnItemContainerStyleChanged : System.Windows.Style * System.Windows.Style -> unit
Protected Overridable Sub OnItemContainerStyleChanged (oldItemContainerStyle As Style, newItemContainerStyle As Style)

参数

oldItemContainerStyle
Style

ItemContainerStyle 属性的旧值。

newItemContainerStyle
Style

ItemContainerStyle 属性的新值。

适用于