5 implementations of Start
PresentationFramework (5)
src\Framework\System\Windows\Controls\PasswordTextContainer.cs (1)
373
ITextPointer ITextContainer.
Start
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
233
ITextPointer ITextContainer.
Start
src\Framework\System\Windows\Documents\FixedTextContainer.cs (1)
202
ITextPointer ITextContainer.
Start
src\Framework\System\Windows\Documents\NullTextContainer.cs (1)
182
ITextPointer ITextContainer.
Start
src\Framework\System\Windows\Documents\TextContainer.cs (1)
1724
ITextPointer ITextContainer.
Start
85 references to Start
PresentationFramework (85)
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
513
start = textContainer.
Start
;
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (2)
254
startOffset = end.TextContainer.
Start
.GetOffsetToPosition(start);
255
endOffset = end.TextContainer.
Start
.GetOffsetToPosition(end);
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (5)
142
contentStart = findToolBar.SearchUp ? textContainer.
Start
: textSelection.Start;
191
contentStart = findToolBar.SearchUp ? textContainer.
Start
: startPointer;
198
contentStart = textContainer.
Start
;
219
contentEnd = findToolBar.SearchUp ? textContainer.
Start
: textContainer.End;
227
contentEnd = findToolBar.SearchUp ? textContainer.
Start
: textContainer.End;
src\Framework\MS\Internal\Documents\TextDocumentView.cs (4)
531
if (position.TextContainer.
Start
.CompareTo(position) == 0 && position.LogicalDirection == LogicalDirection.Backward)
533
contains = (position.TextContainer.
Start
.CompareTo(segments[0].Start) == 0);
3299
segmentEnd = _textContainer.
Start
.CreatePointer(backgroundFormatInfo.CPInterrupted, LogicalDirection.Backward);
3302
segments.Add(new TextSegment(_textContainer.
Start
, segmentEnd, true));
src\Framework\MS\Internal\Documents\TextParagraphView.cs (1)
511
segments.Add(new TextSegment(_textContainer.
Start
, _textContainer.End, true));
src\Framework\MS\Internal\LayoutDump.cs (2)
618
int cpStart = start.TextContainer.
Start
.GetOffsetToPosition(start);
619
int cpEnd = end.TextContainer.
Start
.GetOffsetToPosition(end);
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (1)
1064
if(textPointer.TextContainer.
Start
.CompareTo(textPointer) > 0)
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (1)
197
return position.TextContainer.
Start
.GetOffsetToPosition(position);
src\Framework\MS\Internal\Text\ComplexLine.cs (1)
101
position.CompareTo(_owner.TextContainer.
Start
) != 0)
src\Framework\System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
68
return TextContainerHelper.GetAutomationPeersFromRange(_childrenStart, _childrenEnd, textContainer.
Start
);
src\Framework\System\Windows\Automation\Peers\TextBlockAutomationPeer.cs (1)
41
peers = TextContainerHelper.GetAutomationPeersFromRange(owner.TextContainer.
Start
, owner.TextContainer.End, null);
src\Framework\System\Windows\Controls\DeferredTextReference.cs (1)
46
string s = TextRangeBase.GetTextInternal(_textContainer.
Start
, _textContainer.End);
src\Framework\System\Windows\Controls\TextAdaptor.cs (4)
543
ranges = new ITextRangeProvider[] { new TextRangeAdaptor(this, _textContainer.
Start
, _textContainer.
Start
, _textPeer) };
599
ITextPointer position = _textContainer.
Start
.CreatePointer();
677
return new TextRangeAdaptor(this, _textContainer.
Start
, _textContainer.End, _textPeer);
src\Framework\System\Windows\Controls\TextBlock.cs (18)
432
position = snapToText ? new TextPointer((TextPointer)_complexContent.TextContainer.
Start
) : null;
475
return (TextPointer)_complexContent.TextContainer.
Start
;
1874
int startOffset = _complexContent.TextContainer.
Start
.GetOffsetToPosition(start);
1875
int endOffset = _complexContent.TextContainer.
Start
.GetOffsetToPosition(end);
1964
TextSegment textSegment = new TextSegment(_complexContent.TextContainer.
Start
, _complexContent.TextContainer.End);
2111
return TextRangeBase.GetTextInternal(_complexContent.TextContainer.
Start
, _complexContent.TextContainer.End);
2244
pos = _complexContent.TextContainer.
Start
.CreatePointer(charIndex.FirstCharacterIndex + charIndex.TrailingLength, logicalDirection);
2273
int characterIndex = _complexContent.TextContainer.
Start
.GetOffsetToPosition(orientedPosition);
2378
int dcpPositionStart = _complexContent.TextContainer.
Start
.GetOffsetToPosition(startPosition);
2379
int dcpPositionEnd = _complexContent.TextContainer.
Start
.GetOffsetToPosition(endPosition);
2388
ITextPointer endOfLineTextPointer = _complexContent.TextContainer.
Start
.CreatePointer(0);
2486
int characterIndex = _complexContent.TextContainer.
Start
.GetOffsetToPosition(position);
2552
int characterIndex = _complexContent.TextContainer.
Start
.GetOffsetToPosition(position);
2653
ITextPointer nextCaretPosition = _complexContent.TextContainer.
Start
.CreatePointer(nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength, logicalDirection);
2682
int characterIndex = _complexContent.TextContainer.
Start
.GetOffsetToPosition(position);
2741
ITextPointer backspaceCaretPosition = _complexContent.TextContainer.
Start
.CreatePointer(backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength, logicalDirection);
3654
position = new TextPointer((TextPointer)_complexContent.TextContainer.
Start
);
4106
((TextContainer)text._complexContent.TextContainer).DeleteContentInternal((TextPointer)text._complexContent.TextContainer.
Start
, (TextPointer)text._complexContent.TextContainer.End);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (4)
716
if (expandStart && _start.CompareTo(_start.TextContainer.
Start
) != 0)
718
_start = _start.TextContainer.
Start
.CreatePointer();
975
if (position.CompareTo(GetInsertionPosition(position.TextContainer.
Start
, LogicalDirection.Forward)) != 0)
977
position.MoveToPosition(position.TextContainer.
Start
);
src\Framework\System\Windows\Documents\CompositionAdorner.cs (2)
487
ITextPointer start = _textView.TextContainer.
Start
.CreatePointer(_startOffset, LogicalDirection.Forward);
488
ITextPointer end = _textView.TextContainer.
Start
.CreatePointer(_endOffset, LogicalDirection.Backward);
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (7)
117
return ((ITextContainer)this).
Start
.CreatePointer(offset, direction);
317
return ((ITextContainer)this).
Start
.GetOffsetToPosition(((ITextContainer)this).End);
543
_start = new DocumentSequenceTextPointer(_doclistHead.NextBlock, _doclistHead.NextBlock.ChildContainer.
Start
);
548
_start = new DocumentSequenceTextPointer(_doclistHead, _doclistHead.ChildContainer.
Start
);
645
_start = new DocumentSequenceTextPointer(newBlock, newBlock.ChildContainer.
Start
);
783
tsScan = new DocumentSequenceTextPointer(cdbScan, cdbScan.ChildContainer.
Start
);
1052
: originalPosition.TextContainer.
Start
;
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
908
pointer = block.ChildContainer.
Start
;
1000
if (block.ChildContainer.
Start
.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None)
1031
tpScan.ChildPointer = nextBlock.ChildContainer.
Start
;
1098
cdb.ChildContainer.
Start
.CreatePointer(childTn.LogicalDirection)
src\Framework\System\Windows\Documents\FixedTextContainer.cs (3)
102
return ((ITextContainer)this).
Start
.CreatePointer(offset, direction);
286
return ((ITextContainer)this).
Start
.GetOffsetToPosition(((ITextContainer)this).End);
359
if (fixedTextPointer.CompareTo(((ITextContainer)this).
Start
) == 0)
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
1280
return (this.Start.CompareTo(this.TextContainer.
Start
) == 0);
src\Framework\System\Windows\Documents\ImmComposition.cs (3)
1858
edge = _editor.TextContainer.
Start
.GetOffsetToPosition(positionCurrent);
1859
int startComposition = _editor.TextContainer.
Start
.GetOffsetToPosition(_startComposition);
1860
int endComposition = _editor.TextContainer.
Start
.GetOffsetToPosition(_endComposition);
src\Framework\System\Windows\Documents\NullTextContainer.cs (2)
89
return ((ITextContainer)this).
Start
.CreatePointer(offset, direction);
180
/// <see cref="ITextContainer.
Start
"/>
src\Framework\System\Windows\Documents\Speller.cs (4)
321
_statusTable.MarkDirtyRange(_textEditor.TextContainer.
Start
, _textEditor.TextContainer.End);
526
_statusTable = new SpellerStatusTable(_textEditor.TextContainer.
Start
, _highlightLayer);
693
searchStart = _textEditor.TextContainer.
Start
;
926
debugMessage += "Xml = " + new TextRange((TextPointer)start.TextContainer.
Start
, (TextPointer)start.TextContainer.End).Xml;
src\Framework\System\Windows\Documents\SpellerStatusTable.cs (1)
691
Invariant.Assert(run.Position.CompareTo(run.Position.TextContainer.
Start
) == 0);
src\Framework\System\windows\Documents\TextEditorSelection.cs (7)
180
This.Selection.Select(This.TextContainer.
Start
, This.TextContainer.End);
767
targetPosition = This.TextContainer.
Start
;
910
This.Selection.SetCaretToPosition(This.TextContainer.
Start
, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
1557
ExtendSelectionAndBringIntoView(targetPosition.TextContainer.
Start
, This);
1577
targetPosition = This.TextContainer.
Start
;
1743
ExtendSelectionAndBringIntoView(This.TextContainer.
Start
, This);
1945
ExtendSelectionAndBringIntoView(e.NewPosition.TextContainer.
Start
, This);
src\Framework\System\Windows\Documents\TextPointerBase.cs (1)
455
return thisPosition.TextContainer.
Start
.GetOffsetToPosition(thisPosition);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1736
commonAncestor.MoveToPosition(commonAncestor.TextContainer.
Start
);
src\Framework\System\windows\Documents\TextSelection.cs (2)
46
: base(textEditor.TextContainer.
Start
, textEditor.TextContainer.
Start
)