38 references to Start
PresentationFramework (38)
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (3)
331int elementStartOffset = _structuralCache.TextContainer.Start.GetOffsetToPosition(elementStart); 974if (!(_structuralCache.TextContainer.Start is TextPointer) || 981TextPointer searchPosition = new TextPointer(_structuralCache.TextContainer.Start as TextPointer);
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (6)
782int cp = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition((TextPointer)position); 952int cp = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition(position as TextPointer); 1012int cp = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition(position as TextPointer); 1065int cp = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition(position as TextPointer); 1280int dcpStart = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition((TextPointer)start) - Paragraph.ParagraphStartCharacterPosition; 1281int dcpEnd = Paragraph.StructuralCache.TextContainer.Start.GetOffsetToPosition((TextPointer)end) - Paragraph.ParagraphStartCharacterPosition;
src\Framework\System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (2)
81return TextContainerHelper.GetAutomationPeersFromRange(owner.TextContainer.Start, owner.TextContainer.End, null); 93return TextContainerHelper.GetAutomationPeersFromRange(start, end, owner.TextContainer.Start);
src\Framework\System\Windows\Controls\AccessText.cs (4)
74return new RangeContentEnumerator(TextContainer.Start, TextContainer.End); 575TextPointer navigator = new TextPointer(TextContainer.Start); 621navigator = new TextPointer(TextContainer.Start); 726TextContainer.DeleteContentInternal((TextPointer)TextContainer.Start, TextContainer.End);
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
185TextSelectionInternal.Select(_textContainer.Start, _textContainer.End); 1578position = snapToText ? this.TextContainer.Start : null;
src\Framework\System\Windows\Controls\TextBox.cs (6)
207this.TextContainer.DeleteContentInternal((TextPointer)this.TextContainer.Start, (TextPointer)this.TextContainer.End); 208TextSelectionInternal.Select(this.TextContainer.Start, this.TextContainer.Start); 1069return new RangeContentEnumerator((TextPointer)this.TextContainer.Start, (TextPointer)this.TextContainer.End); 1346return (TextPointer)this.TextContainer.Start; 1653TextContainer.DeleteContentInternal((TextPointer)TextContainer.Start, (TextPointer)TextContainer.End);
src\Framework\System\Windows\Documents\ColumnResizeUndoUnit.cs (2)
28_cpTable = _textContainer.Start.GetOffsetToPosition(textPointerTable); 52textPointerTable = new TextPointer(_textContainer.Start, _cpTable, LogicalDirection.Forward);
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
231/// <see cref="TextContainer.Start"/>
src\Framework\System\Windows\Documents\FixedTextContainer.cs (1)
200/// <see cref="TextContainer.Start"/>
src\Framework\System\Windows\Documents\FlowDocument.cs (3)
183return _structuralCache.TextContainer.Start; 849return new RangeContentEnumerator(_structuralCache.TextContainer.Start, _structuralCache.TextContainer.End); 969TextPointer childStart = new TextPointer(_structuralCache.TextContainer.Start);
src\Framework\System\Windows\Documents\TextContainer.cs (2)
1728return this.Start; 2492newTreeStart = tree.Start;
src\Framework\System\Windows\Documents\TextEffectResolver.cs (1)
86effectCopy.PositionStart = effectStart.TextContainer.Start.GetOffsetToPosition(effectStart);
src\Framework\System\Windows\Documents\TextElement.cs (1)
1625start = tree.Start;
src\Framework\System\Windows\Documents\TextElementCollection.cs (1)
997this.Parent is TextElement ? ((TextElement)this.Parent).ContentStart : this.TextContainer.Start;
src\Framework\System\Windows\Documents\TextPointer.cs (1)
1707return TextContainer.Start;
src\Framework\System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (2)
489_cpTable = table.TextContainer.Start.GetOffsetToPosition(table.ContentStart); 499TextPointer textPointerTable = new TextPointer(navigator.TextContainer.Start, _cpTable, LogicalDirection.Forward);