語言

ItemsControl.OnAlternationCountChanged(Int32, Int32) 方法

定義

當屬性 AlternationCount 變更時會被啟動。

protected:
 virtual void OnAlternationCountChanged(int oldAlternationCount, int newAlternationCount);
protected virtual void OnAlternationCountChanged(int oldAlternationCount, int newAlternationCount);
abstract member OnAlternationCountChanged : int * int -> unit
override this.OnAlternationCountChanged : int * int -> unit
Protected Overridable Sub OnAlternationCountChanged (oldAlternationCount As Integer, newAlternationCount As Integer)

參數

oldAlternationCount
Int32

舊值。AlternationCount

newAlternationCount
Int32

新的值。AlternationCount

適用於