35 references to TextContainer
PresentationFramework (35)
MS\Internal\Documents\ContentHostHelper.cs (1)
47
textContainer = ((TextElement)contentElement).
TextContainer
;
MS\Internal\Documents\TableTextElementCollectionInternal.cs (5)
152
TextPointer startPosition = new TextPointer(item.
TextContainer
, item.TextElementNode, ElementEdge.BeforeStart, LogicalDirection.Backward);
153
TextPointer endPosition = new TextPointer(item.
TextContainer
, item.TextElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
155
Owner.
TextContainer
.BeginChange();
158
Owner.
TextContainer
.DeleteContentInternal(startPosition, endPosition);
162
Owner.
TextContainer
.EndChange();
MS\Internal\Documents\TextContainerHelper.cs (3)
503
ITextContainer textContainer = textElement.
TextContainer
;
516
ITextContainer textContainer = textElement.
TextContainer
;
630
if (!textElement.IsInTree || textElement.
TextContainer
!= textContainer)
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
927
if ((e as TextElement).
TextContainer
== _structuralCache.TextContainer)
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (4)
48
ITextView textView = textElement.
TextContainer
.TextView;
95
ITextView textView = textElement.
TextContainer
.TextView;
149
ITextView textView = textElement.
TextContainer
.TextView;
221
ITextView textView = textElement?.
TextContainer
?.TextView;
System\Windows\Controls\TextBlock.cs (3)
3490
if (textBlock._complexContent.TextContainer != ((TextElement)element).
TextContainer
)
3636
if ((e as TextElement).
TextContainer
== _complexContent.TextContainer)
3703
DependencyObject parent = te.
TextContainer
.Parent;
System\Windows\Documents\BlockUIContainer.cs (1)
76
TextContainer textContainer = this.
TextContainer
;
System\Windows\Documents\Hyperlink.cs (3)
231
return (this.
TextContainer
.TextSelection != null &&
232
!this.
TextContainer
.TextSelection.TextEditor.IsReadOnly);
809
e.Cursor = link.
TextContainer
.TextSelection.TextEditor._cursor;
System\Windows\Documents\InlineUIContainer.cs (1)
100
TextContainer textContainer = this.
TextContainer
;
System\Windows\Documents\List.cs (1)
233
TextContainer textContainer = this.
TextContainer
;
System\Windows\Documents\Run.cs (2)
242
TextContainer textContainer = run.
TextContainer
;
266
FlowDocument document = run.
TextContainer
.Parent as FlowDocument;
System\Windows\Documents\TextContainer.cs (4)
961
bool sameTextContainer = (this == element.
TextContainer
);
970
element.
TextContainer
.BeginChange();
978
elementText = element.
TextContainer
.ExtractElementInternal(element, true /* deep */, out extractChangeEventArgs);
987
element.
TextContainer
.EndChange();
System\Windows\Documents\TextElementCollection.cs (1)
700
textContainer = ((TextElement)_owner).
TextContainer
;
System\Windows\Documents\TextRangeEdit.cs (2)
33
newElement.
TextContainer
.SetValues(newElement.ContentStart, element.GetLocalValueEnumerator());
883
UIElementPropertyUndoUnit.Add(block.
TextContainer
, embeddedElement, FrameworkElement.HorizontalAlignmentProperty, horizontalAlignment);
System\Windows\Documents\TextRangeEditTables.cs (1)
1764
UndoManager undoManager = table.
TextContainer
.UndoManager;
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
463
_cpTable = table.
TextContainer
.Start.GetOffsetToPosition(table.ContentStart);
System\Windows\Documents\TextTreeUndo.cs (1)
56
TextContainer textContainer = element.
TextContainer
;