38 references to Start
PresentationFramework (38)
MS\Internal\PtsHost\FlowDocumentPage.cs (3)
321
int elementStartOffset = _structuralCache.TextContainer.
Start
.GetOffsetToPosition(elementStart);
944
if (!(_structuralCache.TextContainer.
Start
is TextPointer) ||
951
TextPointer searchPosition = new TextPointer(_structuralCache.TextContainer.
Start
as TextPointer);
MS\Internal\PtsHost\TextParaClient.cs (6)
676
int cp = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition((TextPointer)position);
827
int cp = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition(position as TextPointer);
877
int cp = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition(position as TextPointer);
920
int cp = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition(position as TextPointer);
1117
int dcpStart = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition((TextPointer)start) - Paragraph.ParagraphStartCharacterPosition;
1118
int dcpEnd = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition((TextPointer)end) - Paragraph.ParagraphStartCharacterPosition;
System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (2)
73
return TextContainerHelper.GetAutomationPeersFromRange(owner.TextContainer.
Start
, owner.TextContainer.End, null);
85
return TextContainerHelper.GetAutomationPeersFromRange(start, end, owner.TextContainer.
Start
);
System\Windows\Controls\AccessText.cs (4)
72
return new RangeContentEnumerator(TextContainer.
Start
, TextContainer.End);
573
TextPointer navigator = new TextPointer(TextContainer.
Start
);
618
navigator = new TextPointer(TextContainer.
Start
);
722
TextContainer.DeleteContentInternal((TextPointer)TextContainer.
Start
, TextContainer.End);
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
153
TextSelectionInternal.Select(_textContainer.
Start
, _textContainer.End);
1543
position = snapToText ? this.TextContainer.
Start
: null;
System\Windows\Controls\TextBox.cs (6)
187
this.TextContainer.DeleteContentInternal((TextPointer)this.TextContainer.
Start
, (TextPointer)this.TextContainer.End);
188
TextSelectionInternal.Select(this.TextContainer.
Start
, this.TextContainer.
Start
);
1071
return new RangeContentEnumerator((TextPointer)this.TextContainer.
Start
, (TextPointer)this.TextContainer.End);
1347
return (TextPointer)this.TextContainer.
Start
;
1653
TextContainer.DeleteContentInternal((TextPointer)TextContainer.
Start
, (TextPointer)TextContainer.End);
System\Windows\Documents\ColumnResizeUndoUnit.cs (2)
22
_cpTable = _textContainer.
Start
.GetOffsetToPosition(textPointerTable);
46
textPointerTable = new TextPointer(_textContainer.
Start
, _cpTable, LogicalDirection.Forward);
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
219
/// <see cref="TextContainer.
Start
"/>
System\Windows\Documents\FixedTextContainer.cs (1)
187
/// <see cref="TextContainer.
Start
"/>
System\Windows\Documents\FlowDocument.cs (3)
175
return _structuralCache.TextContainer.
Start
;
841
return new RangeContentEnumerator(_structuralCache.TextContainer.
Start
, _structuralCache.TextContainer.End);
961
TextPointer childStart = new TextPointer(_structuralCache.TextContainer.
Start
);
System\Windows\Documents\TextContainer.cs (2)
1708
return this.
Start
;
2472
newTreeStart = tree.
Start
;
System\Windows\Documents\TextEffectResolver.cs (1)
73
effectCopy.PositionStart = effectStart.TextContainer.
Start
.GetOffsetToPosition(effectStart);
System\Windows\Documents\TextElement.cs (1)
1573
start = tree.
Start
;
System\Windows\Documents\TextElementCollection.cs (1)
962
this.Parent is TextElement ? ((TextElement)this.Parent).ContentStart : this.TextContainer.
Start
;
System\Windows\Documents\TextPointer.cs (1)
1688
return TextContainer.
Start
;
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (2)
464
_cpTable = table.TextContainer.
Start
.GetOffsetToPosition(table.ContentStart);
474
TextPointer textPointerTable = new TextPointer(navigator.TextContainer.
Start
, _cpTable, LogicalDirection.Forward);