共用方式為


ItemsControl.OnGroupStyleSelectorChanged 方法

定義

GroupStyleSelector 屬性變更時叫用。

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 屬性的舊值。

newGroupStyleSelector
GroupStyleSelector

GroupStyleSelector 屬性的新值。

適用於