ItemsControl.OnGroupStyleSelectorChanged(GroupStyleSelector, GroupStyleSelector) 方法

定义

GroupStyleSelector 属性更改时调用。Invoked when the GroupStyleSelector property changes.

protected:
 virtual void OnGroupStyleSelectorChanged(System::Windows::Controls::GroupStyleSelector ^ oldGroupStyleSelector, System::Windows::Controls::GroupStyleSelector ^ newGroupStyleSelector);
protected virtual void OnGroupStyleSelectorChanged (System.Windows.Controls.GroupStyleSelector oldGroupStyleSelector, System.Windows.Controls.GroupStyleSelector newGroupStyleSelector);
abstract member OnGroupStyleSelectorChanged : System.Windows.Controls.GroupStyleSelector * System.Windows.Controls.GroupStyleSelector -> unit
override this.OnGroupStyleSelectorChanged : System.Windows.Controls.GroupStyleSelector * System.Windows.Controls.GroupStyleSelector -> unit
Protected Overridable Sub OnGroupStyleSelectorChanged (oldGroupStyleSelector As GroupStyleSelector, newGroupStyleSelector As GroupStyleSelector)

参数

oldGroupStyleSelector
GroupStyleSelector

GroupStyleSelector 属性的旧值。Old value of the GroupStyleSelector property.

newGroupStyleSelector
GroupStyleSelector

GroupStyleSelector 属性的新值。New value of the GroupStyleSelector property.

适用于