5 implementations of Start
PresentationFramework (5)
System\Windows\Controls\PasswordTextContainer.cs (1)
364ITextPointer ITextContainer.Start
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
213ITextPointer ITextContainer.Start
System\Windows\Documents\FixedTextContainer.cs (1)
182ITextPointer ITextContainer.Start
System\Windows\Documents\NullTextContainer.cs (1)
175ITextPointer ITextContainer.Start
System\Windows\Documents\TextContainer.cs (1)
1704ITextPointer ITextContainer.Start
87 references to Start
PresentationFramework (87)
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
489start = textContainer.Start;
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (2)
236startOffset = end.TextContainer.Start.GetOffsetToPosition(start); 237endOffset = end.TextContainer.Start.GetOffsetToPosition(end);
MS\Internal\Documents\DocumentViewerHelper.cs (5)
125contentStart = findToolBar.SearchUp ? textContainer.Start : textSelection.Start; 174contentStart = findToolBar.SearchUp ? textContainer.Start : startPointer; 181contentStart = textContainer.Start; 202contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End; 210contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End;
MS\Internal\Documents\TextDocumentView.cs (4)
521if (position.TextContainer.Start.CompareTo(position) == 0 && position.LogicalDirection == LogicalDirection.Backward) 523contains = (position.TextContainer.Start.CompareTo(segments[0].Start) == 0); 3253segmentEnd = _textContainer.Start.CreatePointer(backgroundFormatInfo.CPInterrupted, LogicalDirection.Backward); 3256segments.Add(new TextSegment(_textContainer.Start, segmentEnd, true));
MS\Internal\Documents\TextParagraphView.cs (1)
480segments.Add(new TextSegment(_textContainer.Start, _textContainer.End, true));
MS\Internal\LayoutDump.cs (2)
614int cpStart = start.TextContainer.Start.GetOffsetToPosition(start); 615int cpEnd = end.TextContainer.Start.GetOffsetToPosition(end);
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1018if(textPointer.TextContainer.Start.CompareTo(textPointer) > 0)
MS\Internal\PtsHost\OptimalTextSource.cs (1)
178return position.TextContainer.Start.GetOffsetToPosition(position);
MS\Internal\Text\ComplexLine.cs (1)
93position.CompareTo(_owner.TextContainer.Start) != 0)
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
64return TextContainerHelper.GetAutomationPeersFromRange(_childrenStart, _childrenEnd, textContainer.Start);
System\Windows\Automation\Peers\TextBlockAutomationPeer.cs (1)
38peers = 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)
293rangeStart = rangeStart ?? _textContainer.Start; 559ranges = new ITextRangeProvider[] { new TextRangeAdaptor(this, _textContainer.Start, _textContainer.Start, _textPeer) }; 612ITextPointer position = _textContainer.Start.CreatePointer(); 690return new TextRangeAdaptor(this, _textContainer.Start, _textContainer.End, _textPeer);
System\Windows\Controls\TextBlock.cs (18)
402position = snapToText ? new TextPointer((TextPointer)_complexContent.TextContainer.Start) : null; 445return (TextPointer)_complexContent.TextContainer.Start; 1774int startOffset = _complexContent.TextContainer.Start.GetOffsetToPosition(start); 1775int endOffset = _complexContent.TextContainer.Start.GetOffsetToPosition(end); 1864TextSegment textSegment = new TextSegment(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 2010return TextRangeBase.GetTextInternal(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 2145pos = _complexContent.TextContainer.Start.CreatePointer(charIndex.FirstCharacterIndex + charIndex.TrailingLength, logicalDirection); 2174int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(orientedPosition); 2278int dcpPositionStart = _complexContent.TextContainer.Start.GetOffsetToPosition(startPosition); 2279int dcpPositionEnd = _complexContent.TextContainer.Start.GetOffsetToPosition(endPosition); 2288ITextPointer endOfLineTextPointer = _complexContent.TextContainer.Start.CreatePointer(0); 2386int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(position); 2452int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(position); 2552ITextPointer nextCaretPosition = _complexContent.TextContainer.Start.CreatePointer(nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength, logicalDirection); 2581int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(position); 2640ITextPointer backspaceCaretPosition = _complexContent.TextContainer.Start.CreatePointer(backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength, logicalDirection); 3655position = new TextPointer((TextPointer)_complexContent.TextContainer.Start); 4107((TextContainer)text._complexContent.TextContainer).DeleteContentInternal((TextPointer)text._complexContent.TextContainer.Start, (TextPointer)text._complexContent.TextContainer.End);
System\Windows\Controls\TextRangeAdaptor.cs (4)
706if (expandStart && _start.CompareTo(_start.TextContainer.Start) != 0) 708_start = _start.TextContainer.Start.CreatePointer(); 964if (position.CompareTo(GetInsertionPosition(position.TextContainer.Start, LogicalDirection.Forward)) != 0) 966position.MoveToPosition(position.TextContainer.Start);
System\Windows\Documents\CompositionAdorner.cs (2)
484ITextPointer start = _textView.TextContainer.Start.CreatePointer(_startOffset, LogicalDirection.Forward); 485ITextPointer end = _textView.TextContainer.Start.CreatePointer(_endOffset, LogicalDirection.Backward);
System\Windows\Documents\DocumentSequenceTextContainer.cs (7)
97return ((ITextContainer)this).Start.CreatePointer(offset, direction); 297return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 519_start = new DocumentSequenceTextPointer(_doclistHead.NextBlock, _doclistHead.NextBlock.ChildContainer.Start); 524_start = new DocumentSequenceTextPointer(_doclistHead, _doclistHead.ChildContainer.Start); 621_start = new DocumentSequenceTextPointer(newBlock, newBlock.ChildContainer.Start); 758tsScan = new DocumentSequenceTextPointer(cdbScan, cdbScan.ChildContainer.Start); 1027: originalPosition.TextContainer.Start;
System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
882pointer = block.ChildContainer.Start; 974if (block.ChildContainer.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None) 1005tpScan.ChildPointer = nextBlock.ChildContainer.Start; 1072cdb.ChildContainer.Start.CreatePointer(childTn.LogicalDirection)
System\Windows\Documents\FixedTextContainer.cs (3)
82return ((ITextContainer)this).Start.CreatePointer(offset, direction); 266return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 335if (fixedTextPointer.CompareTo(((ITextContainer)this).Start) == 0)
System\Windows\Documents\FixedTextView.cs (1)
1255return (this.Start.CompareTo(this.TextContainer.Start) == 0);
System\Windows\Documents\ImmComposition.cs (3)
1663edge = _editor.TextContainer.Start.GetOffsetToPosition(positionCurrent); 1664int startComposition = _editor.TextContainer.Start.GetOffsetToPosition(_startComposition); 1665int endComposition = _editor.TextContainer.Start.GetOffsetToPosition(_endComposition);
System\Windows\Documents\NullTextContainer.cs (2)
82return ((ITextContainer)this).Start.CreatePointer(offset, direction); 173/// <see cref="ITextContainer.Start"/>
System\Windows\Documents\Speller.cs (4)
293_statusTable.MarkDirtyRange(_textEditor.TextContainer.Start, _textEditor.TextContainer.End); 460_statusTable = new SpellerStatusTable(_textEditor.TextContainer.Start, _highlightLayer); 627searchStart = _textEditor.TextContainer.Start; 854debugMessage += $"Xml = {new TextRange((TextPointer)start.TextContainer.Start, (TextPointer)start.TextContainer.End).Xml}";
System\Windows\Documents\SpellerStatusTable.cs (2)
689Invariant.Assert(run.Position.CompareTo(run.Position.TextContainer.Start) == 0); 737Debug.WriteLine($"{i}: {run.Position.TextContainer.Start.GetOffsetToPosition(run.Position)} {runType}");
System\windows\Documents\TextEditorSelection.cs (7)
157This.Selection.Select(This.TextContainer.Start, This.TextContainer.End); 743targetPosition = This.TextContainer.Start; 886This.Selection.SetCaretToPosition(This.TextContainer.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false); 1533ExtendSelectionAndBringIntoView(targetPosition.TextContainer.Start, This); 1553targetPosition = This.TextContainer.Start; 1719ExtendSelectionAndBringIntoView(This.TextContainer.Start, This); 1921ExtendSelectionAndBringIntoView(e.NewPosition.TextContainer.Start, This);
System\Windows\Documents\TextPointerBase.cs (1)
451return thisPosition.TextContainer.Start.GetOffsetToPosition(thisPosition);
System\Windows\Documents\TextRangeSerialization.cs (1)
1710commonAncestor.MoveToPosition(commonAncestor.TextContainer.Start);
System\windows\Documents\TextSelection.cs (2)
40: base(textEditor.TextContainer.Start, textEditor.TextContainer.Start)