編輯

共用方式為


ItemsControl.OnItemContainerStyleChanged(Style, Style) Method

Definition

Invoked when the ItemContainerStyle property changes.

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)

Parameters

oldItemContainerStyle
Style

Old value of the ItemContainerStyle property.

newItemContainerStyle
Style

New value of the ItemContainerStyle property.

Applies to