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