5 implementations of Start
PresentationFramework (5)
System\Windows\Controls\PasswordTextContainer.cs (1)
363ITextPointer ITextContainer.Start
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
212ITextPointer ITextContainer.Start
System\Windows\Documents\FixedTextContainer.cs (1)
181ITextPointer ITextContainer.Start
System\Windows\Documents\NullTextContainer.cs (1)
174ITextPointer ITextContainer.Start
System\Windows\Documents\TextContainer.cs (1)
1697ITextPointer ITextContainer.Start
87 references to Start
PresentationFramework (87)
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
488start = textContainer.Start;
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (2)
235startOffset = end.TextContainer.Start.GetOffsetToPosition(start); 236endOffset = end.TextContainer.Start.GetOffsetToPosition(end);
MS\Internal\Documents\DocumentViewerHelper.cs (5)
124contentStart = findToolBar.SearchUp ? textContainer.Start : textSelection.Start; 173contentStart = findToolBar.SearchUp ? textContainer.Start : startPointer; 180contentStart = textContainer.Start; 201contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End; 209contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End;
MS\Internal\Documents\TextDocumentView.cs (4)
520if (position.TextContainer.Start.CompareTo(position) == 0 && position.LogicalDirection == LogicalDirection.Backward) 522contains = (position.TextContainer.Start.CompareTo(segments[0].Start) == 0); 3243segmentEnd = _textContainer.Start.CreatePointer(backgroundFormatInfo.CPInterrupted, LogicalDirection.Backward); 3246segments.Add(new TextSegment(_textContainer.Start, segmentEnd, true));
MS\Internal\Documents\TextParagraphView.cs (1)
479segments.Add(new TextSegment(_textContainer.Start, _textContainer.End, true));
MS\Internal\LayoutDump.cs (2)
613int cpStart = start.TextContainer.Start.GetOffsetToPosition(start); 614int cpEnd = end.TextContainer.Start.GetOffsetToPosition(end);
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1014if(textPointer.TextContainer.Start.CompareTo(textPointer) > 0)
MS\Internal\PtsHost\OptimalTextSource.cs (1)
177return position.TextContainer.Start.GetOffsetToPosition(position);
MS\Internal\Text\ComplexLine.cs (1)
92position.CompareTo(_owner.TextContainer.Start) != 0)
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
63return TextContainerHelper.GetAutomationPeersFromRange(_childrenStart, _childrenEnd, textContainer.Start);
System\Windows\Automation\Peers\TextBlockAutomationPeer.cs (1)
37peers = TextContainerHelper.GetAutomationPeersFromRange(owner.TextContainer.Start, owner.TextContainer.End, null);
System\Windows\Controls\DeferredTextReference.cs (1)
43string s = TextRangeBase.GetTextInternal(_textContainer.Start, _textContainer.End);
System\Windows\Controls\TextAdaptor.cs (5)
286rangeStart ??= _textContainer.Start; 552ranges = new ITextRangeProvider[] { new TextRangeAdaptor(this, _textContainer.Start, _textContainer.Start, _textPeer) }; 605ITextPointer position = _textContainer.Start.CreatePointer(); 683return new TextRangeAdaptor(this, _textContainer.Start, _textContainer.End, _textPeer);
System\Windows\Controls\TextBlock.cs (18)
401position = snapToText ? new TextPointer((TextPointer)_complexContent.TextContainer.Start) : null; 444return (TextPointer)_complexContent.TextContainer.Start; 1767int startOffset = _complexContent.TextContainer.Start.GetOffsetToPosition(start); 1768int endOffset = _complexContent.TextContainer.Start.GetOffsetToPosition(end); 1857TextSegment textSegment = new TextSegment(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 2000return TextRangeBase.GetTextInternal(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 2135pos = _complexContent.TextContainer.Start.CreatePointer(charIndex.FirstCharacterIndex + charIndex.TrailingLength, logicalDirection); 2164int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(orientedPosition); 2268int dcpPositionStart = _complexContent.TextContainer.Start.GetOffsetToPosition(startPosition); 2269int dcpPositionEnd = _complexContent.TextContainer.Start.GetOffsetToPosition(endPosition); 2278ITextPointer endOfLineTextPointer = _complexContent.TextContainer.Start.CreatePointer(0); 2376int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(position); 2442int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(position); 2542ITextPointer nextCaretPosition = _complexContent.TextContainer.Start.CreatePointer(nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength, logicalDirection); 2571int characterIndex = _complexContent.TextContainer.Start.GetOffsetToPosition(position); 2630ITextPointer backspaceCaretPosition = _complexContent.TextContainer.Start.CreatePointer(backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength, logicalDirection); 3645position = new TextPointer((TextPointer)_complexContent.TextContainer.Start); 4097((TextContainer)text._complexContent.TextContainer).DeleteContentInternal((TextPointer)text._complexContent.TextContainer.Start, (TextPointer)text._complexContent.TextContainer.End);
System\Windows\Controls\TextRangeAdaptor.cs (4)
705if (expandStart && _start.CompareTo(_start.TextContainer.Start) != 0) 707_start = _start.TextContainer.Start.CreatePointer(); 963if (position.CompareTo(GetInsertionPosition(position.TextContainer.Start, LogicalDirection.Forward)) != 0) 965position.MoveToPosition(position.TextContainer.Start);
System\Windows\Documents\CompositionAdorner.cs (2)
480ITextPointer start = _textView.TextContainer.Start.CreatePointer(_startOffset, LogicalDirection.Forward); 481ITextPointer end = _textView.TextContainer.Start.CreatePointer(_endOffset, LogicalDirection.Backward);
System\Windows\Documents\DocumentSequenceTextContainer.cs (7)
96return ((ITextContainer)this).Start.CreatePointer(offset, direction); 296return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 518_start = new DocumentSequenceTextPointer(_doclistHead.NextBlock, _doclistHead.NextBlock.ChildContainer.Start); 523_start = new DocumentSequenceTextPointer(_doclistHead, _doclistHead.ChildContainer.Start); 620_start = new DocumentSequenceTextPointer(newBlock, newBlock.ChildContainer.Start); 757tsScan = new DocumentSequenceTextPointer(cdbScan, cdbScan.ChildContainer.Start); 1026: originalPosition.TextContainer.Start;
System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
881pointer = block.ChildContainer.Start; 973if (block.ChildContainer.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None) 1004tpScan.ChildPointer = nextBlock.ChildContainer.Start; 1071cdb.ChildContainer.Start.CreatePointer(childTn.LogicalDirection)
System\Windows\Documents\FixedTextContainer.cs (3)
81return ((ITextContainer)this).Start.CreatePointer(offset, direction); 265return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 334if (fixedTextPointer.CompareTo(((ITextContainer)this).Start) == 0)
System\Windows\Documents\FixedTextView.cs (1)
1248return (this.Start.CompareTo(this.TextContainer.Start) == 0);
System\Windows\Documents\ImmComposition.cs (3)
1662edge = _editor.TextContainer.Start.GetOffsetToPosition(positionCurrent); 1663int startComposition = _editor.TextContainer.Start.GetOffsetToPosition(_startComposition); 1664int endComposition = _editor.TextContainer.Start.GetOffsetToPosition(_endComposition);
System\Windows\Documents\NullTextContainer.cs (2)
81return ((ITextContainer)this).Start.CreatePointer(offset, direction); 172/// <see cref="ITextContainer.Start"/>
System\Windows\Documents\Speller.cs (4)
292_statusTable.MarkDirtyRange(_textEditor.TextContainer.Start, _textEditor.TextContainer.End); 459_statusTable = new SpellerStatusTable(_textEditor.TextContainer.Start, _highlightLayer); 623searchStart = _textEditor.TextContainer.Start; 850debugMessage += $"Xml = {new TextRange((TextPointer)start.TextContainer.Start, (TextPointer)start.TextContainer.End).Xml}";
System\Windows\Documents\SpellerStatusTable.cs (2)
688Invariant.Assert(run.Position.CompareTo(run.Position.TextContainer.Start) == 0); 736Debug.WriteLine($"{i}: {run.Position.TextContainer.Start.GetOffsetToPosition(run.Position)} {runType}");
System\windows\Documents\TextEditorSelection.cs (7)
156This.Selection.Select(This.TextContainer.Start, This.TextContainer.End); 742targetPosition = This.TextContainer.Start; 885This.Selection.SetCaretToPosition(This.TextContainer.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false); 1532ExtendSelectionAndBringIntoView(targetPosition.TextContainer.Start, This); 1552targetPosition = This.TextContainer.Start; 1718ExtendSelectionAndBringIntoView(This.TextContainer.Start, This); 1920ExtendSelectionAndBringIntoView(e.NewPosition.TextContainer.Start, This);
System\Windows\Documents\TextPointerBase.cs (1)
450return thisPosition.TextContainer.Start.GetOffsetToPosition(thisPosition);
System\Windows\Documents\TextRangeSerialization.cs (1)
1709commonAncestor.MoveToPosition(commonAncestor.TextContainer.Start);
System\windows\Documents\TextSelection.cs (2)
39: base(textEditor.TextContainer.Start, textEditor.TextContainer.Start)