1 write to _textElementNode
PresentationFramework (1)
System\Windows\Documents\TextElement.cs (1)
1317
_textElementNode
= value;
37 references to _textElementNode
PresentationFramework (37)
System\Windows\Documents\TextElement.cs (37)
119
if (startNode ==
_textElementNode
)
121
startNode =
_textElementNode
.GetContainingNode();
123
if (endNode ==
_textElementNode
)
125
endNode =
_textElementNode
.GetContainingNode();
302
TextPointer contentStart = new TextPointer(tree,
_textElementNode
, ElementEdge.AfterStart, LogicalDirection.Backward);
305
TextPointer contentEnd = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd, LogicalDirection.Forward);
328
elementStart = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeStart, LogicalDirection.Forward);
341
return new StaticTextPointer(tree,
_textElementNode
, 0);
361
contentStart = new TextPointer(tree,
_textElementNode
, ElementEdge.AfterStart, LogicalDirection.Backward);
374
return new StaticTextPointer(tree,
_textElementNode
, 1);
394
contentEnd = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd, LogicalDirection.Forward);
407
return new StaticTextPointer(tree,
_textElementNode
,
_textElementNode
.SymbolCount - 1);
435
elementEnd = new TextPointer(tree,
_textElementNode
, ElementEdge.AfterEnd, LogicalDirection.Backward);
448
return new StaticTextPointer(tree,
_textElementNode
,
_textElementNode
.SymbolCount);
1008
beforeStart = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeStart, LogicalDirection.Forward);
1020
tree.AddChange(beforeStart,
_textElementNode
.SymbolCount,
_textElementNode
.IMECharCount,
1227
if (
_textElementNode
== null)
1230
return (
_textElementNode
.ContainedNode == null);
1241
return
_textElementNode
!= null;
1253
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation) - 1;
1265
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation);
1277
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation) +
_textElementNode
.SymbolCount - 2;
1289
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation) +
_textElementNode
.SymbolCount - 1;
1301
return this.IsInTree ?
_textElementNode
.SymbolCount : 2;
1312
return
_textElementNode
;
1427
TextTreeTextElementNode node =
_textElementNode
.GetNextNode() as TextTreeTextElementNode;
1445
TextTreeTextElementNode node =
_textElementNode
.GetPreviousNode() as TextTreeTextElementNode;
1463
TextTreeTextElementNode node =
_textElementNode
.GetFirstContainedNode() as TextTreeTextElementNode;
1481
TextTreeTextElementNode node =
_textElementNode
.GetLastContainedNode() as TextTreeTextElementNode;
1515
tree.InsertTextInternal(new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd), textData);
1549
position = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd);
1567
tree =
_textElementNode
.GetTextTree();