38 references to Start
PresentationFramework (38)
MS\Internal\PtsHost\FlowDocumentPage.cs (3)
320
int elementStartOffset = _structuralCache.TextContainer.
Start
.GetOffsetToPosition(elementStart);
937
if (!(_structuralCache.TextContainer.
Start
is not null) ||
944
TextPointer searchPosition = new TextPointer(_structuralCache.TextContainer.
Start
as TextPointer);
MS\Internal\PtsHost\TextParaClient.cs (6)
675
int cp = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition((TextPointer)position);
826
int cp = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition(position as TextPointer);
876
int cp = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition(position as TextPointer);
919
int cp = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition(position as TextPointer);
1116
int dcpStart = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition((TextPointer)start) - Paragraph.ParagraphStartCharacterPosition;
1117
int dcpEnd = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition((TextPointer)end) - Paragraph.ParagraphStartCharacterPosition;
System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (2)
72
return TextContainerHelper.GetAutomationPeersFromRange(owner.TextContainer.
Start
, owner.TextContainer.End, null);
84
return TextContainerHelper.GetAutomationPeersFromRange(start, end, owner.TextContainer.
Start
);
System\Windows\Controls\AccessText.cs (4)
71
return new RangeContentEnumerator(TextContainer.
Start
, TextContainer.End);
574
TextPointer navigator = new TextPointer(TextContainer.
Start
);
621
navigator = new TextPointer(TextContainer.
Start
);
725
TextContainer.DeleteContentInternal((TextPointer)TextContainer.
Start
, TextContainer.End);
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
154
TextSelectionInternal.Select(_textContainer.
Start
, _textContainer.End);
1487
position = snapToText ? this.TextContainer.
Start
: null;
System\Windows\Controls\TextBox.cs (6)
188
this.TextContainer.DeleteContentInternal((TextPointer)this.TextContainer.
Start
, (TextPointer)this.TextContainer.End);
189
TextSelectionInternal.Select(this.TextContainer.
Start
, this.TextContainer.
Start
);
1072
return new RangeContentEnumerator((TextPointer)this.TextContainer.
Start
, (TextPointer)this.TextContainer.End);
1348
return (TextPointer)this.TextContainer.
Start
;
1654
TextContainer.DeleteContentInternal((TextPointer)TextContainer.
Start
, (TextPointer)TextContainer.End);
System\Windows\Documents\ColumnResizeUndoUnit.cs (2)
21
_cpTable = _textContainer.
Start
.GetOffsetToPosition(textPointerTable);
45
textPointerTable = new TextPointer(_textContainer.
Start
, _cpTable, LogicalDirection.Forward);
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
210
/// <see cref="TextContainer.
Start
"/>
System\Windows\Documents\FixedTextContainer.cs (1)
179
/// <see cref="TextContainer.
Start
"/>
System\Windows\Documents\FlowDocument.cs (3)
174
return _structuralCache.TextContainer.
Start
;
837
return new RangeContentEnumerator(_structuralCache.TextContainer.
Start
, _structuralCache.TextContainer.End);
957
TextPointer childStart = new TextPointer(_structuralCache.TextContainer.
Start
);
System\Windows\Documents\TextContainer.cs (2)
1701
return this.
Start
;
2450
newTreeStart = tree.
Start
;
System\Windows\Documents\TextEffectResolver.cs (1)
72
effectCopy.PositionStart = effectStart.TextContainer.
Start
.GetOffsetToPosition(effectStart);
System\Windows\Documents\TextElement.cs (1)
1555
start = tree.
Start
;
System\Windows\Documents\TextElementCollection.cs (1)
961
this.Parent is TextElement ? ((TextElement)this.Parent).ContentStart : this.TextContainer.
Start
;
System\Windows\Documents\TextPointer.cs (1)
1687
return TextContainer.
Start
;
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (2)
463
_cpTable = table.TextContainer.
Start
.GetOffsetToPosition(table.ContentStart);
473
TextPointer textPointerTable = new TextPointer(navigator.TextContainer.
Start
, _cpTable, LogicalDirection.Forward);