1 write to _textElementNode
PresentationFramework (1)
System\Windows\Documents\TextElement.cs (1)
1300
_textElementNode
= value;
37 references to _textElementNode
PresentationFramework (37)
System\Windows\Documents\TextElement.cs (37)
113
if (startNode ==
_textElementNode
)
115
startNode =
_textElementNode
.GetContainingNode();
117
if (endNode ==
_textElementNode
)
119
endNode =
_textElementNode
.GetContainingNode();
288
TextPointer contentStart = new TextPointer(tree,
_textElementNode
, ElementEdge.AfterStart, LogicalDirection.Backward);
291
TextPointer contentEnd = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd, LogicalDirection.Forward);
314
elementStart = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeStart, LogicalDirection.Forward);
327
return new StaticTextPointer(tree,
_textElementNode
, 0);
347
contentStart = new TextPointer(tree,
_textElementNode
, ElementEdge.AfterStart, LogicalDirection.Backward);
360
return new StaticTextPointer(tree,
_textElementNode
, 1);
380
contentEnd = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd, LogicalDirection.Forward);
393
return new StaticTextPointer(tree,
_textElementNode
,
_textElementNode
.SymbolCount - 1);
421
elementEnd = new TextPointer(tree,
_textElementNode
, ElementEdge.AfterEnd, LogicalDirection.Backward);
434
return new StaticTextPointer(tree,
_textElementNode
,
_textElementNode
.SymbolCount);
994
beforeStart = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeStart, LogicalDirection.Forward);
1006
tree.AddChange(beforeStart,
_textElementNode
.SymbolCount,
_textElementNode
.IMECharCount,
1210
if (
_textElementNode
== null)
1213
return (
_textElementNode
.ContainedNode == null);
1224
return
_textElementNode
!= null;
1236
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation) - 1;
1248
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation);
1260
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation) +
_textElementNode
.SymbolCount - 2;
1272
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation) +
_textElementNode
.SymbolCount - 1;
1284
return this.IsInTree ?
_textElementNode
.SymbolCount : 2;
1295
return
_textElementNode
;
1410
TextTreeTextElementNode node =
_textElementNode
.GetNextNode() as TextTreeTextElementNode;
1428
TextTreeTextElementNode node =
_textElementNode
.GetPreviousNode() as TextTreeTextElementNode;
1446
TextTreeTextElementNode node =
_textElementNode
.GetFirstContainedNode() as TextTreeTextElementNode;
1464
TextTreeTextElementNode node =
_textElementNode
.GetLastContainedNode() as TextTreeTextElementNode;
1498
tree.InsertTextInternal(new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd), textData);
1532
position = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd);
1550
tree =
_textElementNode
.GetTextTree();