1 interface inheriting from IUndoUnit
PresentationFramework (1)
MS\Internal\Documents\IParentUndoUnit.cs (1)
17
internal interface IParentUndoUnit :
IUndoUnit
2 implementations of IUndoUnit
PresentationFramework (2)
System\Windows\Documents\TextTreeUndoUnit.cs (1)
15
internal abstract class TextTreeUndoUnit :
IUndoUnit
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
38
internal class UIElementPropertyUndoUnit :
IUndoUnit
38 references to IUndoUnit
PresentationFramework (38)
MS\Internal\Documents\IParentUndoUnit.cs (2)
62
void Add(
IUndoUnit
newUnit);
93
IUndoUnit
LastUnit
MS\Internal\Documents\IUndoUnit.cs (1)
49
bool Merge(
IUndoUnit
unit);
MS\Internal\Documents\ParentUndoUnit.cs (10)
221
public virtual void Add(
IUndoUnit
unit)
285
foreach (
IUndoUnit
unit in _units)
301
foreach (
IUndoUnit
unit in _units)
338
IUndoUnit
unit;
340
unit = _units.Pop() as
IUndoUnit
;
363
public virtual bool Merge(
IUndoUnit
unit)
413
public
IUndoUnit
LastUnit
509
protected void SetLastUnit(
IUndoUnit
value)
603
bool IsInParentUnitChain(
IUndoUnit
unit)
642
private
IUndoUnit
_lastUnit;
MS\Internal\Documents\UndoManager.cs (22)
68
_undoStack = new List<
IUndoUnit
>(4);
207
Add(unit as
IUndoUnit
);
208
SetLastUnit(unit as
IUndoUnit
);
403
internal void Add(
IUndoUnit
unit)
533
IUndoUnit
unit;
596
IUndoUnit
unit;
598
unit = (
IUndoUnit
)RedoStack.Pop();
628
internal
IUndoUnit
PeekUndoStack()
636
return UndoStack[_topUndoIndex] as
IUndoUnit
;
697
List<
IUndoUnit
> undoStack = new List<
IUndoUnit
>(UndoCount);
749
List<
IUndoUnit
> undoStack = new List<
IUndoUnit
>(UndoLimit);
834
internal
IUndoUnit
LastUnit
916
internal
IUndoUnit
GetUndoUnit(int index)
1027
protected void SetLastUnit(
IUndoUnit
value)
1066
protected List<
IUndoUnit
> UndoStack
1121
private
IUndoUnit
PopUndoStack()
1124
IUndoUnit
unit = (
IUndoUnit
)UndoStack[_topUndoIndex];
1164
private
IUndoUnit
_lastUnit;
1165
private List<
IUndoUnit
> _undoStack; // stack of undo units
System\Windows\Documents\TextStore.cs (1)
4369
Add((
IUndoUnit
)units[i]);
System\Windows\Documents\TextTreeUndoUnit.cs (1)
63
public bool Merge(
IUndoUnit
unit)
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
81
public bool Merge(
IUndoUnit
unit)