12 references to TextContainer
PresentationFramework (12)
src\Framework\MS\Internal\Text\ComplexLine.cs (4)
48StaticTextPointer position = _owner.TextContainer.CreateStaticPointerAtOffset(dcp); 97ITextPointer position = _owner.TextContainer.CreatePointerAtOffset(dcp, LogicalDirection.Backward); 101position.CompareTo(_owner.TextContainer.Start) != 0) 270tree = _owner.TextContainer as TextContainer;
src\Framework\MS\Internal\Text\TextLineResult.cs (4)
111return _owner.TextContainer.CreatePointerAtOffset(_dcp + _cchContent, LogicalDirection.Backward); 127return _owner.TextContainer.CreatePointerAtOffset(_dcp + _cch - _cchEllipses, LogicalDirection.Forward); 179_startPosition = _owner.TextContainer.CreatePointerAtOffset(_dcp, LogicalDirection.Forward); 194_endPosition = _owner.TextContainer.CreatePointerAtOffset(_dcp + _cch, LogicalDirection.Backward);
src\Framework\System\Windows\Automation\Peers\TextBlockAutomationPeer.cs (2)
41peers = TextContainerHelper.GetAutomationPeersFromRange(owner.TextContainer.Start, owner.TextContainer.End, null);
src\Framework\System\Windows\Controls\TextBlock.cs (1)
3111SetDeferredValue(TextProperty, new DeferredTextReference(this.TextContainer));
src\Framework\System\Windows\Documents\TextElementCollection.cs (1)
728textContainer = (TextContainer)((TextBlock)_owner).TextContainer;