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