ItemsControl.OnAlternationCountChanged(Int32, Int32) 方法

定义

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

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 的旧值。The old value of AlternationCount.

newAlternationCount
Int32

AlternationCount 的新值。The new value of AlternationCount.

适用于