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