35 references to TextContainer
PresentationFramework (35)
MS\Internal\Documents\ContentHostHelper.cs (1)
51
textContainer = ((TextElement)contentElement).
TextContainer
;
MS\Internal\Documents\TableTextElementCollectionInternal.cs (5)
157
TextPointer startPosition = new TextPointer(item.
TextContainer
, item.TextElementNode, ElementEdge.BeforeStart, LogicalDirection.Backward);
158
TextPointer endPosition = new TextPointer(item.
TextContainer
, item.TextElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
160
Owner.
TextContainer
.BeginChange();
163
Owner.
TextContainer
.DeleteContentInternal(startPosition, endPosition);
167
Owner.
TextContainer
.EndChange();
MS\Internal\Documents\TextContainerHelper.cs (3)
507
ITextContainer textContainer = textElement.
TextContainer
;
520
ITextContainer textContainer = textElement.
TextContainer
;
634
if (!textElement.IsInTree || textElement.
TextContainer
!= textContainer)
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
942
if ((e as TextElement).
TextContainer
== _structuralCache.TextContainer)
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (4)
53
ITextView textView = textElement.
TextContainer
.TextView;
100
ITextView textView = textElement.
TextContainer
.TextView;
154
ITextView textView = textElement.
TextContainer
.TextView;
226
ITextView textView = textElement?.
TextContainer
?.TextView;
System\Windows\Controls\TextBlock.cs (3)
3510
if (textBlock._complexContent.TextContainer != ((TextElement)element).
TextContainer
)
3656
if ((e as TextElement).
TextContainer
== _complexContent.TextContainer)
3723
DependencyObject parent = te.
TextContainer
.Parent;
System\Windows\Documents\BlockUIContainer.cs (1)
78
TextContainer textContainer = this.
TextContainer
;
System\Windows\Documents\Hyperlink.cs (3)
238
return (this.
TextContainer
.TextSelection != null &&
239
!this.
TextContainer
.TextSelection.TextEditor.IsReadOnly);
815
e.Cursor = link.
TextContainer
.TextSelection.TextEditor._cursor;
System\Windows\Documents\InlineUIContainer.cs (1)
112
TextContainer textContainer = this.
TextContainer
;
System\Windows\Documents\List.cs (1)
234
TextContainer textContainer = this.
TextContainer
;
System\Windows\Documents\Run.cs (2)
252
TextContainer textContainer = run.
TextContainer
;
276
FlowDocument document = run.
TextContainer
.Parent as FlowDocument;
System\Windows\Documents\TextContainer.cs (4)
970
bool sameTextContainer = (this == element.
TextContainer
);
979
element.
TextContainer
.BeginChange();
987
elementText = element.
TextContainer
.ExtractElementInternal(element, true /* deep */, out extractChangeEventArgs);
996
element.
TextContainer
.EndChange();
System\Windows\Documents\TextElementCollection.cs (1)
703
textContainer = ((TextElement)_owner).
TextContainer
;
System\Windows\Documents\TextRangeEdit.cs (2)
36
newElement.
TextContainer
.SetValues(newElement.ContentStart, element.GetLocalValueEnumerator());
886
UIElementPropertyUndoUnit.Add(block.
TextContainer
, embeddedElement, FrameworkElement.HorizontalAlignmentProperty, horizontalAlignment);
System\Windows\Documents\TextRangeEditTables.cs (1)
1763
UndoManager undoManager = table.
TextContainer
.UndoManager;
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
466
_cpTable = table.
TextContainer
.Start.GetOffsetToPosition(table.ContentStart);
System\Windows\Documents\TextTreeUndo.cs (1)
57
TextContainer textContainer = element.
TextContainer
;