1 write to _textElementNode
PresentationFramework (1)
System\Windows\Documents\TextElement.cs (1)
1299
_textElementNode
= value;
37 references to _textElementNode
PresentationFramework (37)
System\Windows\Documents\TextElement.cs (37)
112
if (startNode ==
_textElementNode
)
114
startNode =
_textElementNode
.GetContainingNode();
116
if (endNode ==
_textElementNode
)
118
endNode =
_textElementNode
.GetContainingNode();
287
TextPointer contentStart = new TextPointer(tree,
_textElementNode
, ElementEdge.AfterStart, LogicalDirection.Backward);
290
TextPointer contentEnd = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd, LogicalDirection.Forward);
313
elementStart = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeStart, LogicalDirection.Forward);
326
return new StaticTextPointer(tree,
_textElementNode
, 0);
346
contentStart = new TextPointer(tree,
_textElementNode
, ElementEdge.AfterStart, LogicalDirection.Backward);
359
return new StaticTextPointer(tree,
_textElementNode
, 1);
379
contentEnd = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd, LogicalDirection.Forward);
392
return new StaticTextPointer(tree,
_textElementNode
,
_textElementNode
.SymbolCount - 1);
420
elementEnd = new TextPointer(tree,
_textElementNode
, ElementEdge.AfterEnd, LogicalDirection.Backward);
433
return new StaticTextPointer(tree,
_textElementNode
,
_textElementNode
.SymbolCount);
993
beforeStart = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeStart, LogicalDirection.Forward);
1005
tree.AddChange(beforeStart,
_textElementNode
.SymbolCount,
_textElementNode
.IMECharCount,
1209
if (
_textElementNode
== null)
1212
return (
_textElementNode
.ContainedNode == null);
1223
return
_textElementNode
!= null;
1235
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation) - 1;
1247
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation);
1259
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation) +
_textElementNode
.SymbolCount - 2;
1271
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation) +
_textElementNode
.SymbolCount - 1;
1283
return this.IsInTree ?
_textElementNode
.SymbolCount : 2;
1294
return
_textElementNode
;
1409
TextTreeTextElementNode node =
_textElementNode
.GetNextNode() as TextTreeTextElementNode;
1427
TextTreeTextElementNode node =
_textElementNode
.GetPreviousNode() as TextTreeTextElementNode;
1445
TextTreeTextElementNode node =
_textElementNode
.GetFirstContainedNode() as TextTreeTextElementNode;
1463
TextTreeTextElementNode node =
_textElementNode
.GetLastContainedNode() as TextTreeTextElementNode;
1497
tree.InsertTextInternal(new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd), textData);
1531
position = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd);
1549
tree =
_textElementNode
.GetTextTree();