38 references to UndoCloseAction
PresentationFramework (38)
src\Framework\MS\Internal\Documents\IParentUndoUnit.cs (2)
58
void Close(
UndoCloseAction
closeAction);
65
void Close(IParentUndoUnit closingUnit,
UndoCloseAction
closeAction);
src\Framework\MS\Internal\Documents\ParentUndoUnit.cs (6)
104
public virtual void Close(
UndoCloseAction
closeAction)
124
public virtual void Close(IParentUndoUnit unit,
UndoCloseAction
closeAction)
168
if (closeAction !=
UndoCloseAction
.Commit)
181
if (closeAction ==
UndoCloseAction
.Rollback)
208
OpenedUnit.Close(
UndoCloseAction
.Commit);
365
topContainer.Close(redo,
UndoCloseAction
.Commit);
src\Framework\MS\Internal\Documents\UndoManager.cs (5)
323
internal void Close(
UndoCloseAction
closeAction)
344
internal void Close(IParentUndoUnit unit,
UndoCloseAction
closeAction)
385
if (closeAction !=
UndoCloseAction
.Commit)
394
if (closeAction ==
UndoCloseAction
.Rollback)
411
unit.Close(
UndoCloseAction
.Commit);
src\Framework\System\Windows\Documents\ChangeBlockUndoRecord.cs (2)
102
_undoManager.Close(_parentUndoUnit, (_parentUndoUnit.LastUnit != null) ?
UndoCloseAction
.Commit :
UndoCloseAction
.Discard);
src\Framework\System\Windows\Documents\ColumnResizeUndoUnit.cs (1)
71
undoManager.Close(redo,
UndoCloseAction
.Commit);
src\Framework\System\Windows\Documents\ImmComposition.cs (5)
1230
UndoCloseAction
undoCloseAction =
UndoCloseAction
.Rollback;
1297
undoCloseAction =
UndoCloseAction
.Commit;
1990
private void CloseCompositionUndoUnit(
UndoCloseAction
undoCloseAction, ITextPointer compositionEnd)
2004
if (undoCloseAction ==
UndoCloseAction
.Commit)
src\Framework\System\windows\Documents\TextEditorTyping.cs (4)
1571
UndoCloseAction
closeAction =
UndoCloseAction
.Rollback;
1589
closeAction =
UndoCloseAction
.Commit;
1854
private static void CloseTypingUndoUnit(TextEditor This,
UndoCloseAction
closeAction)
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (1)
1773
undoManager.Close(columnResizeUndoUnit,
UndoCloseAction
.Commit);
src\Framework\System\Windows\Documents\TextStore.cs (12)
402
UndoCloseAction
undoCloseAction =
UndoCloseAction
.Rollback;
417
undoCloseAction =
UndoCloseAction
.Commit;
576
UndoCloseAction
undoCloseAction =
UndoCloseAction
.Rollback;
647
undoCloseAction =
UndoCloseAction
.Commit;
1879
UndoCloseAction
undoCloseAction =
UndoCloseAction
.Rollback;
1904
undoCloseAction =
UndoCloseAction
.Commit;
3514
private void CloseTextParentUndoUnit(TextParentUndoUnit textParentUndoUnit,
UndoCloseAction
undoCloseAction)
3773
CloseTextParentUndoUnit(completeUndoUnit, (completeUndoUnit.LastUnit != null) ?
UndoCloseAction
.Commit :
UndoCloseAction
.Discard);