1 interface inheriting from IUndoUnit
PresentationFramework (1)
src\Framework\MS\Internal\Documents\IParentUndoUnit.cs (1)
27
internal interface IParentUndoUnit :
IUndoUnit
2 implementations of IUndoUnit
PresentationFramework (2)
src\Framework\System\Windows\Documents\TextTreeUndoUnit.cs (1)
23
internal abstract class TextTreeUndoUnit :
IUndoUnit
src\Framework\System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
43
internal class UIElementPropertyUndoUnit :
IUndoUnit
38 references to IUndoUnit
PresentationFramework (38)
src\Framework\MS\Internal\Documents\IParentUndoUnit.cs (2)
72
void Add(
IUndoUnit
newUnit);
103
IUndoUnit
LastUnit
src\Framework\MS\Internal\Documents\IUndoUnit.cs (1)
57
bool Merge(
IUndoUnit
unit);
src\Framework\MS\Internal\Documents\ParentUndoUnit.cs (10)
235
public virtual void Add(
IUndoUnit
unit)
302
foreach (
IUndoUnit
unit in _units)
318
foreach (
IUndoUnit
unit in _units)
355
IUndoUnit
unit;
357
unit = _units.Pop() as
IUndoUnit
;
380
public virtual bool Merge(
IUndoUnit
unit)
430
public
IUndoUnit
LastUnit
526
protected void SetLastUnit(
IUndoUnit
value)
620
bool IsInParentUnitChain(
IUndoUnit
unit)
659
private
IUndoUnit
_lastUnit;
src\Framework\MS\Internal\Documents\UndoManager.cs (22)
84
_undoStack = new List<
IUndoUnit
>(4);
236
Add(unit as
IUndoUnit
);
237
SetLastUnit(unit as
IUndoUnit
);
438
internal void Add(
IUndoUnit
unit)
573
IUndoUnit
unit;
638
IUndoUnit
unit;
640
unit = (
IUndoUnit
)RedoStack.Pop();
670
internal
IUndoUnit
PeekUndoStack()
678
return UndoStack[_topUndoIndex] as
IUndoUnit
;
739
List<
IUndoUnit
> undoStack = new List<
IUndoUnit
>(UndoCount);
791
List<
IUndoUnit
> undoStack = new List<
IUndoUnit
>(UndoLimit);
876
internal
IUndoUnit
LastUnit
958
internal
IUndoUnit
GetUndoUnit(int index)
1069
protected void SetLastUnit(
IUndoUnit
value)
1108
protected List<
IUndoUnit
> UndoStack
1163
private
IUndoUnit
PopUndoStack()
1166
IUndoUnit
unit = (
IUndoUnit
)UndoStack[_topUndoIndex];
1206
private
IUndoUnit
_lastUnit;
1207
private List<
IUndoUnit
> _undoStack; // stack of undo units
src\Framework\System\Windows\Documents\TextStore.cs (1)
4220
Add((
IUndoUnit
)units[i]);
src\Framework\System\Windows\Documents\TextTreeUndoUnit.cs (1)
71
public bool Merge(
IUndoUnit
unit)
src\Framework\System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
86
public bool Merge(
IUndoUnit
unit)