23 references to UndoCount
PresentationFramework (23)
src\Framework\MS\Internal\Documents\UndoManager.cs (8)
287
if (
UndoCount
== 0 || PeekUndoStack() != unit)
548
if (count >
UndoCount
|| count <= 0)
563
Invariant.Assert(
UndoCount
> _minUndoStackCount);
661
if (
UndoCount
> 0)
739
List<IUndoUnit> undoStack = new List<IUndoUnit>(
UndoCount
);
960
Invariant.Assert(index < this.
UndoCount
);
982
Invariant.Assert(count + index <= this.
UndoCount
);
1165
int undoCount =
UndoCount
- 1;
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
346
if (undoManager != null && undoManager.
UndoCount
> undoManager.MinUndoStackCount)
670
(undoManager.
UndoCount
> undoManager.MinUndoStackCount ||
src\Framework\System\windows\Documents\TextEditor.cs (2)
610
if (undoManager != null && undoManager.
UndoCount
> undoManager.MinUndoStackCount)
1939
if (undoManager != null && undoManager.
UndoCount
> undoManager.MinUndoStackCount)
src\Framework\System\Windows\Documents\TextStore.cs (11)
2209
initialUndoCount = undoManager.
UndoCount
;
3469
UndoQuietly(undoManager.
UndoCount
- previousUndoCount);
3472
int initialUndoCount = undoManager.
UndoCount
;
3487
SetFinalDocumentState(undoManager, imeChangeStack, undoManager.
UndoCount
- initialUndoCount, imeSelectionAnchorOffset, imeSelectionMovingOffset, appSelectionAnchorOffset, appSelectionMovingOffset);
3561
undoManager.MinUndoStackCount = undoManager.
UndoCount
;
3588
undoManager.MinUndoStackCount = undoManager.
UndoCount
;
3617
undoManager.MinUndoStackCount = undoManager.
UndoCount
;
3762
int completeUnitCount = undoManager.
UndoCount
;
3777
completeUnitCount = (undoManager.
UndoCount
- completeUnitCount);
3896
int i = undoManager.
UndoCount
- 1;
3897
int j = undoManager.
UndoCount
- 1;