35 references to TextContainer
PresentationFramework (35)
src\Framework\MS\Internal\Documents\ContentHostHelper.cs (1)
53
textContainer = ((TextElement)contentElement).
TextContainer
;
src\Framework\MS\Internal\Documents\TableTextElementCollectionInternal.cs (5)
162
TextPointer startPosition = new TextPointer(item.
TextContainer
, item.TextElementNode, ElementEdge.BeforeStart, LogicalDirection.Backward);
163
TextPointer endPosition = new TextPointer(item.
TextContainer
, item.TextElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
165
Owner.
TextContainer
.BeginChange();
168
Owner.
TextContainer
.DeleteContentInternal(startPosition, endPosition);
172
Owner.
TextContainer
.EndChange();
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (3)
512
ITextContainer textContainer = textElement.
TextContainer
;
525
ITextContainer textContainer = textElement.
TextContainer
;
639
if (!textElement.IsInTree || textElement.
TextContainer
!= textContainer)
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (1)
964
if ((e as TextElement).
TextContainer
== _structuralCache.TextContainer)
src\Framework\System\Windows\Automation\Peers\TextElementAutomationPeer.cs (4)
61
ITextView textView = textElement.
TextContainer
.TextView;
114
ITextView textView = textElement.
TextContainer
.TextView;
168
ITextView textView = textElement.
TextContainer
.TextView;
240
ITextView textView = textElement?.
TextContainer
?.TextView;
src\Framework\System\Windows\Controls\TextBlock.cs (3)
3499
if (textBlock._complexContent.TextContainer != ((TextElement)element).
TextContainer
)
3645
if ((e as TextElement).
TextContainer
== _complexContent.TextContainer)
3712
DependencyObject parent = te.
TextContainer
.Parent;
src\Framework\System\Windows\Documents\BlockUIContainer.cs (1)
81
TextContainer textContainer = this.
TextContainer
;
src\Framework\System\Windows\Documents\Hyperlink.cs (3)
240
return (this.
TextContainer
.TextSelection != null &&
241
!this.
TextContainer
.TextSelection.TextEditor.IsReadOnly);
854
e.Cursor = link.
TextContainer
.TextSelection.TextEditor._cursor;
src\Framework\System\Windows\Documents\InlineUIContainer.cs (1)
112
TextContainer textContainer = this.
TextContainer
;
src\Framework\System\Windows\Documents\List.cs (1)
244
TextContainer textContainer = this.
TextContainer
;
src\Framework\System\Windows\Documents\Run.cs (2)
252
TextContainer textContainer = run.
TextContainer
;
276
FlowDocument document = run.
TextContainer
.Parent as FlowDocument;
src\Framework\System\Windows\Documents\TextContainer.cs (4)
985
bool sameTextContainer = (this == element.
TextContainer
);
994
element.
TextContainer
.BeginChange();
1002
elementText = element.
TextContainer
.ExtractElementInternal(element, true /* deep */, out extractChangeEventArgs);
1011
element.
TextContainer
.EndChange();
src\Framework\System\Windows\Documents\TextElementCollection.cs (1)
736
textContainer = ((TextElement)_owner).
TextContainer
;
src\Framework\System\Windows\Documents\TextRangeEdit.cs (2)
38
newElement.
TextContainer
.SetValues(newElement.ContentStart, element.GetLocalValueEnumerator());
888
UIElementPropertyUndoUnit.Add(block.
TextContainer
, embeddedElement, FrameworkElement.HorizontalAlignmentProperty, horizontalAlignment);
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (1)
1766
UndoManager undoManager = table.
TextContainer
.UndoManager;
src\Framework\System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
489
_cpTable = table.
TextContainer
.Start.GetOffsetToPosition(table.ContentStart);
src\Framework\System\Windows\Documents\TextTreeUndo.cs (1)
63
TextContainer textContainer = element.
TextContainer
;