Modifica

Condividi tramite


ItemsControl.OnItemContainerStyleSelectorChanged Method

Definition

Invoked when the ItemContainerStyleSelector property changes.

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)

Parameters

oldItemContainerStyleSelector
StyleSelector

Old value of the ItemContainerStyleSelector property.

newItemContainerStyleSelector
StyleSelector

New value of the ItemContainerStyleSelector property.

Applies to