5 implementations of Start
PresentationFramework (5)
src\Framework\System\Windows\Controls\PasswordTextContainer.cs (1)
373ITextPointer ITextContainer.Start
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
233ITextPointer ITextContainer.Start
src\Framework\System\Windows\Documents\FixedTextContainer.cs (1)
202ITextPointer ITextContainer.Start
src\Framework\System\Windows\Documents\NullTextContainer.cs (1)
182ITextPointer ITextContainer.Start
src\Framework\System\Windows\Documents\TextContainer.cs (1)
1724ITextPointer ITextContainer.Start
85 references to Start
PresentationFramework (85)
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
513start = textContainer.Start;
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (2)
254startOffset = end.TextContainer.Start.GetOffsetToPosition(start); 255endOffset = end.TextContainer.Start.GetOffsetToPosition(end);
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (5)
142contentStart = findToolBar.SearchUp ? textContainer.Start : textSelection.Start; 191contentStart = findToolBar.SearchUp ? textContainer.Start : startPointer; 198contentStart = textContainer.Start; 219contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End; 227contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End;
src\Framework\MS\Internal\Documents\TextDocumentView.cs (4)
531if (position.TextContainer.Start.CompareTo(position) == 0 && position.LogicalDirection == LogicalDirection.Backward) 533contains = (position.TextContainer.Start.CompareTo(segments[0].Start) == 0); 3299segmentEnd = _textContainer.Start.CreatePointer(backgroundFormatInfo.CPInterrupted, LogicalDirection.Backward); 3302segments.Add(new TextSegment(_textContainer.Start, segmentEnd, true));
src\Framework\MS\Internal\Documents\TextParagraphView.cs (1)
511segments.Add(new TextSegment(_textContainer.Start, _textContainer.End, true));
src\Framework\MS\Internal\LayoutDump.cs (2)
618int cpStart = start.TextContainer.Start.GetOffsetToPosition(start); 619int cpEnd = end.TextContainer.Start.GetOffsetToPosition(end);
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (1)
1064if(textPointer.TextContainer.Start.CompareTo(textPointer) > 0)
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (1)
197return position.TextContainer.Start.GetOffsetToPosition(position);
src\Framework\MS\Internal\Text\ComplexLine.cs (1)
101position.CompareTo(_owner.TextContainer.Start) != 0)
src\Framework\System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
68return TextContainerHelper.GetAutomationPeersFromRange(_childrenStart, _childrenEnd, textContainer.Start);
src\Framework\System\Windows\Automation\Peers\TextBlockAutomationPeer.cs (1)
41peers = TextContainerHelper.GetAutomationPeersFromRange(owner.TextContainer.Start, owner.TextContainer.End, null);
src\Framework\System\Windows\Controls\DeferredTextReference.cs (1)
46string s = TextRangeBase.GetTextInternal(_textContainer.Start, _textContainer.End);
src\Framework\System\Windows\Controls\TextAdaptor.cs (4)
543ranges = new ITextRangeProvider[] { new TextRangeAdaptor(this, _textContainer.Start, _textContainer.Start, _textPeer) }; 599ITextPointer position = _textContainer.Start.CreatePointer(); 677return new TextRangeAdaptor(this, _textContainer.Start, _textContainer.End, _textPeer);
src\Framework\System\Windows\Controls\TextBlock.cs (18)
432position = snapToText ? new TextPointer((TextPointer)_complexContent.TextContainer.Start) : null; 475return (TextPointer)_complexContent.TextContainer.Start; 1874int startOffset = _complexContent.TextContainer.Start.GetOffsetToPosition(start); 1875int endOffset = _complexContent.TextContainer.Start.GetOffsetToPosition(end); 1964TextSegment textSegment = new TextSegment(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 2111return TextRangeBase.GetTextInternal(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 2244pos = _complexContent.TextContainer.Start.CreatePointer(charIndex.FirstCharacterIndex + charIndex.TrailingLength, logicalDirection); 2273int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(orientedPosition); 2378int dcpPositionStart = _complexContent.TextContainer.Start.GetOffsetToPosition(startPosition); 2379int dcpPositionEnd = _complexContent.TextContainer.Start.GetOffsetToPosition(endPosition); 2388ITextPointer endOfLineTextPointer = _complexContent.TextContainer.Start.CreatePointer(0); 2486int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(position); 2552int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(position); 2653ITextPointer nextCaretPosition = _complexContent.TextContainer.Start.CreatePointer(nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength, logicalDirection); 2682int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(position); 2741ITextPointer backspaceCaretPosition = _complexContent.TextContainer.Start.CreatePointer(backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength, logicalDirection); 3654position = new TextPointer((TextPointer)_complexContent.TextContainer.Start); 4106((TextContainer)text._complexContent.TextContainer).DeleteContentInternal((TextPointer)text._complexContent.TextContainer.Start, (TextPointer)text._complexContent.TextContainer.End);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (4)
716if (expandStart && _start.CompareTo(_start.TextContainer.Start) != 0) 718_start = _start.TextContainer.Start.CreatePointer(); 975if (position.CompareTo(GetInsertionPosition(position.TextContainer.Start, LogicalDirection.Forward)) != 0) 977position.MoveToPosition(position.TextContainer.Start);
src\Framework\System\Windows\Documents\CompositionAdorner.cs (2)
487ITextPointer start = _textView.TextContainer.Start.CreatePointer(_startOffset, LogicalDirection.Forward); 488ITextPointer end = _textView.TextContainer.Start.CreatePointer(_endOffset, LogicalDirection.Backward);
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (7)
117return ((ITextContainer)this).Start.CreatePointer(offset, direction); 317return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 543_start = new DocumentSequenceTextPointer(_doclistHead.NextBlock, _doclistHead.NextBlock.ChildContainer.Start); 548_start = new DocumentSequenceTextPointer(_doclistHead, _doclistHead.ChildContainer.Start); 645_start = new DocumentSequenceTextPointer(newBlock, newBlock.ChildContainer.Start); 783tsScan = new DocumentSequenceTextPointer(cdbScan, cdbScan.ChildContainer.Start); 1052: originalPosition.TextContainer.Start;
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
908pointer = block.ChildContainer.Start; 1000if (block.ChildContainer.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None) 1031tpScan.ChildPointer = nextBlock.ChildContainer.Start; 1098cdb.ChildContainer.Start.CreatePointer(childTn.LogicalDirection)
src\Framework\System\Windows\Documents\FixedTextContainer.cs (3)
102return ((ITextContainer)this).Start.CreatePointer(offset, direction); 286return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 359if (fixedTextPointer.CompareTo(((ITextContainer)this).Start) == 0)
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
1280return (this.Start.CompareTo(this.TextContainer.Start) == 0);
src\Framework\System\Windows\Documents\ImmComposition.cs (3)
1858edge = _editor.TextContainer.Start.GetOffsetToPosition(positionCurrent); 1859int startComposition = _editor.TextContainer.Start.GetOffsetToPosition(_startComposition); 1860int endComposition = _editor.TextContainer.Start.GetOffsetToPosition(_endComposition);
src\Framework\System\Windows\Documents\NullTextContainer.cs (2)
89return ((ITextContainer)this).Start.CreatePointer(offset, direction); 180/// <see cref="ITextContainer.Start"/>
src\Framework\System\Windows\Documents\Speller.cs (4)
321_statusTable.MarkDirtyRange(_textEditor.TextContainer.Start, _textEditor.TextContainer.End); 526_statusTable = new SpellerStatusTable(_textEditor.TextContainer.Start, _highlightLayer); 693searchStart = _textEditor.TextContainer.Start; 926debugMessage += "Xml = " + new TextRange((TextPointer)start.TextContainer.Start, (TextPointer)start.TextContainer.End).Xml;
src\Framework\System\Windows\Documents\SpellerStatusTable.cs (1)
691Invariant.Assert(run.Position.CompareTo(run.Position.TextContainer.Start) == 0);
src\Framework\System\windows\Documents\TextEditorSelection.cs (7)
180This.Selection.Select(This.TextContainer.Start, This.TextContainer.End); 767targetPosition = This.TextContainer.Start; 910This.Selection.SetCaretToPosition(This.TextContainer.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false); 1557ExtendSelectionAndBringIntoView(targetPosition.TextContainer.Start, This); 1577targetPosition = This.TextContainer.Start; 1743ExtendSelectionAndBringIntoView(This.TextContainer.Start, This); 1945ExtendSelectionAndBringIntoView(e.NewPosition.TextContainer.Start, This);
src\Framework\System\Windows\Documents\TextPointerBase.cs (1)
455return thisPosition.TextContainer.Start.GetOffsetToPosition(thisPosition);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1736commonAncestor.MoveToPosition(commonAncestor.TextContainer.Start);
src\Framework\System\windows\Documents\TextSelection.cs (2)
46: base(textEditor.TextContainer.Start, textEditor.TextContainer.Start)