Exemplo n.º 1
0
 protected override void RedoCore()
 {
     savedRange = collection.GetRange(collection.Length - newRange.Length, collection.Length - 1);
     collection.Insert(index, newRange, valueConverter);
 }
Exemplo n.º 2
0
 protected override void UndoCore()
 {
     collection.Insert(index, savedRange);
     savedRange = null;
 }
Exemplo n.º 3
0
 protected override void RedoCore()
 {
     savedRange = collection.GetRange(collection.Length - count, collection.Length - 1);
     collection.Insert(index, count, newValue);
 }