38 references to Start
PresentationFramework (38)
MS\Internal\PtsHost\FlowDocumentPage.cs (3)
329
int elementStartOffset = _structuralCache.TextContainer.
Start
.GetOffsetToPosition(elementStart);
952
if (!(_structuralCache.TextContainer.
Start
is TextPointer) ||
959
TextPointer searchPosition = new TextPointer(_structuralCache.TextContainer.
Start
as TextPointer);
MS\Internal\PtsHost\TextParaClient.cs (6)
682
int cp = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition((TextPointer)position);
833
int cp = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition(position as TextPointer);
883
int cp = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition(position as TextPointer);
926
int cp = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition(position as TextPointer);
1123
int dcpStart = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition((TextPointer)start) - Paragraph.ParagraphStartCharacterPosition;
1124
int dcpEnd = Paragraph.StructuralCache.TextContainer.
Start
.GetOffsetToPosition((TextPointer)end) - Paragraph.ParagraphStartCharacterPosition;
System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (2)
84
return TextContainerHelper.GetAutomationPeersFromRange(owner.TextContainer.
Start
, owner.TextContainer.End, null);
96
return TextContainerHelper.GetAutomationPeersFromRange(start, end, owner.TextContainer.
Start
);
System\Windows\Controls\AccessText.cs (4)
74
return new RangeContentEnumerator(TextContainer.
Start
, TextContainer.End);
575
TextPointer navigator = new TextPointer(TextContainer.
Start
);
620
navigator = new TextPointer(TextContainer.
Start
);
724
TextContainer.DeleteContentInternal((TextPointer)TextContainer.
Start
, TextContainer.End);
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
162
TextSelectionInternal.Select(_textContainer.
Start
, _textContainer.End);
1552
position = snapToText ? this.TextContainer.
Start
: null;
System\Windows\Controls\TextBox.cs (6)
194
this.TextContainer.DeleteContentInternal((TextPointer)this.TextContainer.
Start
, (TextPointer)this.TextContainer.End);
195
TextSelectionInternal.Select(this.TextContainer.
Start
, this.TextContainer.
Start
);
1078
return new RangeContentEnumerator((TextPointer)this.TextContainer.
Start
, (TextPointer)this.TextContainer.End);
1354
return (TextPointer)this.TextContainer.
Start
;
1660
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)
227
/// <see cref="TextContainer.
Start
"/>
System\Windows\Documents\FixedTextContainer.cs (1)
196
/// <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)
1713
return this.
Start
;
2477
newTreeStart = tree.
Start
;
System\Windows\Documents\TextEffectResolver.cs (1)
77
effectCopy.PositionStart = effectStart.TextContainer.
Start
.GetOffsetToPosition(effectStart);
System\Windows\Documents\TextElement.cs (1)
1574
start = tree.
Start
;
System\Windows\Documents\TextElementCollection.cs (1)
964
this.Parent is TextElement ? ((TextElement)this.Parent).ContentStart : this.TextContainer.
Start
;
System\Windows\Documents\TextPointer.cs (1)
1693
return TextContainer.
Start
;
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (2)
466
_cpTable = table.TextContainer.
Start
.GetOffsetToPosition(table.ContentStart);
476
TextPointer textPointerTable = new TextPointer(navigator.TextContainer.
Start
, _cpTable, LogicalDirection.Forward);