23 references to UndoCount
PresentationFramework (23)
MS\Internal\Documents\UndoManager.cs (8)
264
if (
UndoCount
== 0 || PeekUndoStack() != unit)
519
ArgumentOutOfRangeException.ThrowIfGreaterThan(count,
UndoCount
);
532
Invariant.Assert(
UndoCount
> _minUndoStackCount);
628
if (
UndoCount
> 0)
706
List<IUndoUnit> undoStack = new List<IUndoUnit>(
UndoCount
);
927
Invariant.Assert(index < this.
UndoCount
);
949
Invariant.Assert(count + index <= this.
UndoCount
);
1132
int undoCount =
UndoCount
- 1;
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
323
if (undoManager != null && undoManager.
UndoCount
> undoManager.MinUndoStackCount)
647
(undoManager.
UndoCount
> undoManager.MinUndoStackCount ||
System\windows\Documents\TextEditor.cs (2)
583
if (undoManager != null && undoManager.
UndoCount
> undoManager.MinUndoStackCount)
1894
if (undoManager != null && undoManager.
UndoCount
> undoManager.MinUndoStackCount)
System\Windows\Documents\TextStore.cs (11)
2345
initialUndoCount = undoManager.
UndoCount
;
3559
UndoQuietly(undoManager.
UndoCount
- previousUndoCount);
3562
int initialUndoCount = undoManager.
UndoCount
;
3577
SetFinalDocumentState(undoManager, imeChangeStack, undoManager.
UndoCount
- initialUndoCount, imeSelectionAnchorOffset, imeSelectionMovingOffset, appSelectionAnchorOffset, appSelectionMovingOffset);
3659
undoManager.MinUndoStackCount = undoManager.
UndoCount
;
3696
undoManager.MinUndoStackCount = undoManager.
UndoCount
;
3745
undoManager.MinUndoStackCount = undoManager.
UndoCount
;
3919
int completeUnitCount = undoManager.
UndoCount
;
3934
completeUnitCount = (undoManager.
UndoCount
- completeUnitCount);
4079
int i = undoManager.
UndoCount
- 1;
4080
int j = undoManager.
UndoCount
- 1;