35 references to TextContainer
PresentationFramework (35)
MS\Internal\Documents\ContentHostHelper.cs (1)
48
textContainer = ((TextElement)contentElement).
TextContainer
;
MS\Internal\Documents\TableTextElementCollectionInternal.cs (5)
153
TextPointer startPosition = new TextPointer(item.
TextContainer
, item.TextElementNode, ElementEdge.BeforeStart, LogicalDirection.Backward);
154
TextPointer endPosition = new TextPointer(item.
TextContainer
, item.TextElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
156
Owner.
TextContainer
.BeginChange();
159
Owner.
TextContainer
.DeleteContentInternal(startPosition, endPosition);
163
Owner.
TextContainer
.EndChange();
MS\Internal\Documents\TextContainerHelper.cs (3)
504
ITextContainer textContainer = textElement.
TextContainer
;
517
ITextContainer textContainer = textElement.
TextContainer
;
631
if (!textElement.IsInTree || textElement.
TextContainer
!= textContainer)
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
934
if ((e as TextElement).
TextContainer
== _structuralCache.TextContainer)
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (4)
49
ITextView textView = textElement.
TextContainer
.TextView;
96
ITextView textView = textElement.
TextContainer
.TextView;
150
ITextView textView = textElement.
TextContainer
.TextView;
222
ITextView textView = textElement?.
TextContainer
?.TextView;
System\Windows\Controls\TextBlock.cs (3)
3500
if (textBlock._complexContent.TextContainer != ((TextElement)element).
TextContainer
)
3646
if ((e as TextElement).
TextContainer
== _complexContent.TextContainer)
3713
DependencyObject parent = te.
TextContainer
.Parent;
System\Windows\Documents\BlockUIContainer.cs (1)
77
TextContainer textContainer = this.
TextContainer
;
System\Windows\Documents\Hyperlink.cs (3)
232
return (this.
TextContainer
.TextSelection != null &&
233
!this.
TextContainer
.TextSelection.TextEditor.IsReadOnly);
809
e.Cursor = link.
TextContainer
.TextSelection.TextEditor._cursor;
System\Windows\Documents\InlineUIContainer.cs (1)
110
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)
965
bool sameTextContainer = (this == element.
TextContainer
);
974
element.
TextContainer
.BeginChange();
982
elementText = element.
TextContainer
.ExtractElementInternal(element, true /* deep */, out extractChangeEventArgs);
991
element.
TextContainer
.EndChange();
System\Windows\Documents\TextElementCollection.cs (1)
701
textContainer = ((TextElement)_owner).
TextContainer
;
System\Windows\Documents\TextRangeEdit.cs (2)
34
newElement.
TextContainer
.SetValues(newElement.ContentStart, element.GetLocalValueEnumerator());
884
UIElementPropertyUndoUnit.Add(block.
TextContainer
, embeddedElement, FrameworkElement.HorizontalAlignmentProperty, horizontalAlignment);
System\Windows\Documents\TextRangeEditTables.cs (1)
1761
UndoManager undoManager = table.
TextContainer
.UndoManager;
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
464
_cpTable = table.
TextContainer
.Start.GetOffsetToPosition(table.ContentStart);
System\Windows\Documents\TextTreeUndo.cs (1)
57
TextContainer textContainer = element.
TextContainer
;