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