1 write to _textElementNode
PresentationFramework (1)
System\Windows\Documents\TextElement.cs (1)
1318
_textElementNode
= value;
37 references to _textElementNode
PresentationFramework (37)
System\Windows\Documents\TextElement.cs (37)
120
if (startNode ==
_textElementNode
)
122
startNode =
_textElementNode
.GetContainingNode();
124
if (endNode ==
_textElementNode
)
126
endNode =
_textElementNode
.GetContainingNode();
303
TextPointer contentStart = new TextPointer(tree,
_textElementNode
, ElementEdge.AfterStart, LogicalDirection.Backward);
306
TextPointer contentEnd = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd, LogicalDirection.Forward);
329
elementStart = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeStart, LogicalDirection.Forward);
342
return new StaticTextPointer(tree,
_textElementNode
, 0);
362
contentStart = new TextPointer(tree,
_textElementNode
, ElementEdge.AfterStart, LogicalDirection.Backward);
375
return new StaticTextPointer(tree,
_textElementNode
, 1);
395
contentEnd = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd, LogicalDirection.Forward);
408
return new StaticTextPointer(tree,
_textElementNode
,
_textElementNode
.SymbolCount - 1);
436
elementEnd = new TextPointer(tree,
_textElementNode
, ElementEdge.AfterEnd, LogicalDirection.Backward);
449
return new StaticTextPointer(tree,
_textElementNode
,
_textElementNode
.SymbolCount);
1009
beforeStart = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeStart, LogicalDirection.Forward);
1021
tree.AddChange(beforeStart,
_textElementNode
.SymbolCount,
_textElementNode
.IMECharCount,
1228
if (
_textElementNode
== null)
1231
return (
_textElementNode
.ContainedNode == null);
1242
return
_textElementNode
!= null;
1254
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation) - 1;
1266
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation);
1278
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation) +
_textElementNode
.SymbolCount - 2;
1290
return
_textElementNode
.GetSymbolOffset(EnsureTextContainer().Generation) +
_textElementNode
.SymbolCount - 1;
1302
return this.IsInTree ?
_textElementNode
.SymbolCount : 2;
1313
return
_textElementNode
;
1428
TextTreeTextElementNode node =
_textElementNode
.GetNextNode() as TextTreeTextElementNode;
1446
TextTreeTextElementNode node =
_textElementNode
.GetPreviousNode() as TextTreeTextElementNode;
1464
TextTreeTextElementNode node =
_textElementNode
.GetFirstContainedNode() as TextTreeTextElementNode;
1482
TextTreeTextElementNode node =
_textElementNode
.GetLastContainedNode() as TextTreeTextElementNode;
1516
tree.InsertTextInternal(new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd), textData);
1550
position = new TextPointer(tree,
_textElementNode
, ElementEdge.BeforeEnd);
1568
tree =
_textElementNode
.GetTextTree();