23 references to UndoCount
PresentationFramework (23)
MS\Internal\Documents\UndoManager.cs (8)
255
if (
UndoCount
== 0 || PeekUndoStack() != unit)
510
ArgumentOutOfRangeException.ThrowIfGreaterThan(count,
UndoCount
);
523
Invariant.Assert(
UndoCount
> _minUndoStackCount);
619
if (
UndoCount
> 0)
697
List<IUndoUnit> undoStack = new List<IUndoUnit>(
UndoCount
);
918
Invariant.Assert(index < this.
UndoCount
);
940
Invariant.Assert(count + index <= this.
UndoCount
);
1123
int undoCount =
UndoCount
- 1;
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
316
if (undoManager != null && undoManager.
UndoCount
> undoManager.MinUndoStackCount)
640
(undoManager.
UndoCount
> undoManager.MinUndoStackCount ||
System\windows\Documents\TextEditor.cs (2)
574
if (undoManager != null && undoManager.
UndoCount
> undoManager.MinUndoStackCount)
1885
if (undoManager != null && undoManager.
UndoCount
> undoManager.MinUndoStackCount)
System\Windows\Documents\TextStore.cs (11)
2334
initialUndoCount = undoManager.
UndoCount
;
3550
UndoQuietly(undoManager.
UndoCount
- previousUndoCount);
3553
int initialUndoCount = undoManager.
UndoCount
;
3568
SetFinalDocumentState(undoManager, imeChangeStack, undoManager.
UndoCount
- initialUndoCount, imeSelectionAnchorOffset, imeSelectionMovingOffset, appSelectionAnchorOffset, appSelectionMovingOffset);
3650
undoManager.MinUndoStackCount = undoManager.
UndoCount
;
3687
undoManager.MinUndoStackCount = undoManager.
UndoCount
;
3736
undoManager.MinUndoStackCount = undoManager.
UndoCount
;
3910
int completeUnitCount = undoManager.
UndoCount
;
3925
completeUnitCount = (undoManager.
UndoCount
- completeUnitCount);
4070
int i = undoManager.
UndoCount
- 1;
4071
int j = undoManager.
UndoCount
- 1;