1 interface inheriting from IUndoUnit
PresentationFramework (1)
MS\Internal\Documents\IParentUndoUnit.cs (1)
21
internal interface IParentUndoUnit :
IUndoUnit
2 implementations of IUndoUnit
PresentationFramework (2)
System\Windows\Documents\TextTreeUndoUnit.cs (1)
17
internal abstract class TextTreeUndoUnit :
IUndoUnit
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
40
internal class UIElementPropertyUndoUnit :
IUndoUnit
38 references to IUndoUnit
PresentationFramework (38)
MS\Internal\Documents\IParentUndoUnit.cs (2)
66
void Add(
IUndoUnit
newUnit);
97
IUndoUnit
LastUnit
MS\Internal\Documents\IUndoUnit.cs (1)
51
bool Merge(
IUndoUnit
unit);
MS\Internal\Documents\ParentUndoUnit.cs (10)
223
public virtual void Add(
IUndoUnit
unit)
287
foreach (
IUndoUnit
unit in _units)
303
foreach (
IUndoUnit
unit in _units)
340
IUndoUnit
unit;
342
unit = _units.Pop() as
IUndoUnit
;
365
public virtual bool Merge(
IUndoUnit
unit)
415
public
IUndoUnit
LastUnit
511
protected void SetLastUnit(
IUndoUnit
value)
605
bool IsInParentUnitChain(
IUndoUnit
unit)
644
private
IUndoUnit
_lastUnit;
MS\Internal\Documents\UndoManager.cs (22)
77
_undoStack = new List<
IUndoUnit
>(4);
216
Add(unit as
IUndoUnit
);
217
SetLastUnit(unit as
IUndoUnit
);
412
internal void Add(
IUndoUnit
unit)
542
IUndoUnit
unit;
605
IUndoUnit
unit;
607
unit = (
IUndoUnit
)RedoStack.Pop();
637
internal
IUndoUnit
PeekUndoStack()
645
return UndoStack[_topUndoIndex] as
IUndoUnit
;
706
List<
IUndoUnit
> undoStack = new List<
IUndoUnit
>(UndoCount);
758
List<
IUndoUnit
> undoStack = new List<
IUndoUnit
>(UndoLimit);
843
internal
IUndoUnit
LastUnit
925
internal
IUndoUnit
GetUndoUnit(int index)
1036
protected void SetLastUnit(
IUndoUnit
value)
1075
protected List<
IUndoUnit
> UndoStack
1130
private
IUndoUnit
PopUndoStack()
1133
IUndoUnit
unit = (
IUndoUnit
)UndoStack[_topUndoIndex];
1173
private
IUndoUnit
_lastUnit;
1174
private List<
IUndoUnit
> _undoStack; // stack of undo units
System\Windows\Documents\TextStore.cs (1)
4380
Add((
IUndoUnit
)units[i]);
System\Windows\Documents\TextTreeUndoUnit.cs (1)
65
public bool Merge(
IUndoUnit
unit)
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
83
public bool Merge(
IUndoUnit
unit)