5 implementations of Start
PresentationFramework (5)
System\Windows\Controls\PasswordTextContainer.cs (1)
367ITextPointer ITextContainer.Start
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
229ITextPointer ITextContainer.Start
System\Windows\Documents\FixedTextContainer.cs (1)
198ITextPointer ITextContainer.Start
System\Windows\Documents\NullTextContainer.cs (1)
179ITextPointer ITextContainer.Start
System\Windows\Documents\TextContainer.cs (1)
1709ITextPointer ITextContainer.Start
87 references to Start
PresentationFramework (87)
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
499start = textContainer.Start;
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (2)
248startOffset = end.TextContainer.Start.GetOffsetToPosition(start); 249endOffset = end.TextContainer.Start.GetOffsetToPosition(end);
MS\Internal\Documents\DocumentViewerHelper.cs (5)
127contentStart = findToolBar.SearchUp ? textContainer.Start : textSelection.Start; 176contentStart = findToolBar.SearchUp ? textContainer.Start : startPointer; 183contentStart = textContainer.Start; 204contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End; 212contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End;
MS\Internal\Documents\TextDocumentView.cs (4)
524if (position.TextContainer.Start.CompareTo(position) == 0 && position.LogicalDirection == LogicalDirection.Backward) 526contains = (position.TextContainer.Start.CompareTo(segments[0].Start) == 0); 3290segmentEnd = _textContainer.Start.CreatePointer(backgroundFormatInfo.CPInterrupted, LogicalDirection.Backward); 3293segments.Add(new TextSegment(_textContainer.Start, segmentEnd, true));
MS\Internal\Documents\TextParagraphView.cs (1)
486segments.Add(new TextSegment(_textContainer.Start, _textContainer.End, true));
MS\Internal\LayoutDump.cs (2)
615int cpStart = start.TextContainer.Start.GetOffsetToPosition(start); 616int cpEnd = end.TextContainer.Start.GetOffsetToPosition(end);
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1038if(textPointer.TextContainer.Start.CompareTo(textPointer) > 0)
MS\Internal\PtsHost\OptimalTextSource.cs (1)
193return position.TextContainer.Start.GetOffsetToPosition(position);
MS\Internal\Text\ComplexLine.cs (1)
98position.CompareTo(_owner.TextContainer.Start) != 0)
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
66return TextContainerHelper.GetAutomationPeersFromRange(_childrenStart, _childrenEnd, textContainer.Start);
System\Windows\Automation\Peers\TextBlockAutomationPeer.cs (1)
40peers = TextContainerHelper.GetAutomationPeersFromRange(owner.TextContainer.Start, owner.TextContainer.End, null);
System\Windows\Controls\DeferredTextReference.cs (1)
44string s = TextRangeBase.GetTextInternal(_textContainer.Start, _textContainer.End);
System\Windows\Controls\TextAdaptor.cs (5)
296rangeStart = rangeStart ?? _textContainer.Start; 562ranges = new ITextRangeProvider[] { new TextRangeAdaptor(this, _textContainer.Start, _textContainer.Start, _textPeer) }; 615ITextPointer position = _textContainer.Start.CreatePointer(); 693return new TextRangeAdaptor(this, _textContainer.Start, _textContainer.End, _textPeer);
System\Windows\Controls\TextBlock.cs (18)
414position = snapToText ? new TextPointer((TextPointer)_complexContent.TextContainer.Start) : null; 457return (TextPointer)_complexContent.TextContainer.Start; 1786int startOffset = _complexContent.TextContainer.Start.GetOffsetToPosition(start); 1787int endOffset = _complexContent.TextContainer.Start.GetOffsetToPosition(end); 1876TextSegment textSegment = new TextSegment(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 2022return TextRangeBase.GetTextInternal(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 2157pos = _complexContent.TextContainer.Start.CreatePointer(charIndex.FirstCharacterIndex + charIndex.TrailingLength, logicalDirection); 2186int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(orientedPosition); 2290int dcpPositionStart = _complexContent.TextContainer.Start.GetOffsetToPosition(startPosition); 2291int dcpPositionEnd = _complexContent.TextContainer.Start.GetOffsetToPosition(endPosition); 2300ITextPointer endOfLineTextPointer = _complexContent.TextContainer.Start.CreatePointer(0); 2398int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(position); 2464int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(position); 2564ITextPointer nextCaretPosition = _complexContent.TextContainer.Start.CreatePointer(nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength, logicalDirection); 2593int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(position); 2652ITextPointer backspaceCaretPosition = _complexContent.TextContainer.Start.CreatePointer(backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength, logicalDirection); 3665position = new TextPointer((TextPointer)_complexContent.TextContainer.Start); 4117((TextContainer)text._complexContent.TextContainer).DeleteContentInternal((TextPointer)text._complexContent.TextContainer.Start, (TextPointer)text._complexContent.TextContainer.End);
System\Windows\Controls\TextRangeAdaptor.cs (4)
708if (expandStart && _start.CompareTo(_start.TextContainer.Start) != 0) 710_start = _start.TextContainer.Start.CreatePointer(); 966if (position.CompareTo(GetInsertionPosition(position.TextContainer.Start, LogicalDirection.Forward)) != 0) 968position.MoveToPosition(position.TextContainer.Start);
System\Windows\Documents\CompositionAdorner.cs (2)
485ITextPointer start = _textView.TextContainer.Start.CreatePointer(_startOffset, LogicalDirection.Forward); 486ITextPointer end = _textView.TextContainer.Start.CreatePointer(_endOffset, LogicalDirection.Backward);
System\Windows\Documents\DocumentSequenceTextContainer.cs (7)
113return ((ITextContainer)this).Start.CreatePointer(offset, direction); 313return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 536_start = new DocumentSequenceTextPointer(_doclistHead.NextBlock, _doclistHead.NextBlock.ChildContainer.Start); 541_start = new DocumentSequenceTextPointer(_doclistHead, _doclistHead.ChildContainer.Start); 638_start = new DocumentSequenceTextPointer(newBlock, newBlock.ChildContainer.Start); 775tsScan = new DocumentSequenceTextPointer(cdbScan, cdbScan.ChildContainer.Start); 1044: originalPosition.TextContainer.Start;
System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
891pointer = block.ChildContainer.Start; 983if (block.ChildContainer.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None) 1014tpScan.ChildPointer = nextBlock.ChildContainer.Start; 1081cdb.ChildContainer.Start.CreatePointer(childTn.LogicalDirection)
System\Windows\Documents\FixedTextContainer.cs (3)
98return ((ITextContainer)this).Start.CreatePointer(offset, direction); 282return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 352if (fixedTextPointer.CompareTo(((ITextContainer)this).Start) == 0)
System\Windows\Documents\FixedTextView.cs (1)
1268return (this.Start.CompareTo(this.TextContainer.Start) == 0);
System\Windows\Documents\ImmComposition.cs (3)
1684edge = _editor.TextContainer.Start.GetOffsetToPosition(positionCurrent); 1685int startComposition = _editor.TextContainer.Start.GetOffsetToPosition(_startComposition); 1686int endComposition = _editor.TextContainer.Start.GetOffsetToPosition(_endComposition);
System\Windows\Documents\NullTextContainer.cs (2)
86return ((ITextContainer)this).Start.CreatePointer(offset, direction); 177/// <see cref="ITextContainer.Start"/>
System\Windows\Documents\Speller.cs (4)
297_statusTable.MarkDirtyRange(_textEditor.TextContainer.Start, _textEditor.TextContainer.End); 464_statusTable = new SpellerStatusTable(_textEditor.TextContainer.Start, _highlightLayer); 631searchStart = _textEditor.TextContainer.Start; 858debugMessage += $"Xml = {new TextRange((TextPointer)start.TextContainer.Start, (TextPointer)start.TextContainer.End).Xml}";
System\Windows\Documents\SpellerStatusTable.cs (2)
691Invariant.Assert(run.Position.CompareTo(run.Position.TextContainer.Start) == 0); 739Debug.WriteLine($"{i}: {run.Position.TextContainer.Start.GetOffsetToPosition(run.Position)} {runType}");
System\windows\Documents\TextEditorSelection.cs (7)
172This.Selection.Select(This.TextContainer.Start, This.TextContainer.End); 758targetPosition = This.TextContainer.Start; 901This.Selection.SetCaretToPosition(This.TextContainer.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false); 1548ExtendSelectionAndBringIntoView(targetPosition.TextContainer.Start, This); 1568targetPosition = This.TextContainer.Start; 1734ExtendSelectionAndBringIntoView(This.TextContainer.Start, This); 1936ExtendSelectionAndBringIntoView(e.NewPosition.TextContainer.Start, This);
System\Windows\Documents\TextPointerBase.cs (1)
453return thisPosition.TextContainer.Start.GetOffsetToPosition(thisPosition);
System\Windows\Documents\TextRangeSerialization.cs (1)
1716commonAncestor.MoveToPosition(commonAncestor.TextContainer.Start);
System\windows\Documents\TextSelection.cs (2)
43: base(textEditor.TextContainer.Start, textEditor.TextContainer.Start)