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