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