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