62 references to Start
PresentationFramework (62)
System\Windows\Controls\RichTextBox.cs (1)
575if (!Selection.Start.IsInSameDocument(value))
System\Windows\Controls\TextBox.cs (6)
799return TextSelectionInternal.Start.GetOffsetToPosition(TextSelectionInternal.End); 806int maxLength = TextSelectionInternal.Start.GetOffsetToPosition(TextContainer.End); 811TextPointer newEnd = new TextPointer(TextSelectionInternal.Start, value, LogicalDirection.Forward); 817TextSelectionInternal.Select(TextSelectionInternal.Start, newEnd); 840return this.TextSelectionInternal.Start.Offset; 847int selectionLength = TextSelectionInternal.Start.GetOffsetToPosition(TextSelectionInternal.End);
System\windows\Documents\TextEditor.cs (2)
471XmlLanguage language = (XmlLanguage)((ITextPointer)range.Start).GetValue(FrameworkElement.LanguageProperty); 494FlowDirection currentFlowDirection = (FlowDirection)((ITextPointer)range.Start).GetValue(FrameworkElement.FlowDirectionProperty);
System\windows\Documents\TextEditorCharacters.cs (1)
84!TextRangeEdit.CanApplyStructuralInlineProperty(selection.Start, selection.End))
System\windows\Documents\TextEditorLists.cs (13)
42ListItem parentListItem = TextPointerBase.GetListItem(thisSelection.Start); 43ListItem immediateListItem = TextPointerBase.GetImmediateListItem(thisSelection.Start); 126ListItem parentListItem = TextPointerBase.GetListItem(thisSelection.Start); 127ListItem immediateListItem = TextPointerBase.GetImmediateListItem(thisSelection.Start); 235Block paragraphOrBlockUIContainer = thisSelection.Start.ParagraphOrBlockUIContainer; 246Paragraph paragraph = thisSelection.Start.Paragraph; 252TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue); 257TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue); 290Block paragraphOrBlockUIContainer = thisSelection.Start.ParagraphOrBlockUIContainer; 301Paragraph paragraph = thisSelection.Start.Paragraph; 308TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue); 313TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue); 333TextPointer position = thisSelection.Start;
System\windows\Documents\TextEditorTyping.cs (1)
1172This.Selection.SetCaretToPosition(range.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
System\Windows\Documents\TextPointer.cs (1)
58/// <see cref="TextRange.Start"/> and <see cref="TextRange.End"/>, etc.
System\Windows\Documents\TextRange.cs (4)
1307return ((TextPointer)this.Start).ContainingFrameworkElement; 1576TextPointer startPosition = TextRangeEditTables.EnsureInsertionPosition(this.Start); 1602TextPointer insertionPosition = TextRangeEdit.SplitFormattingElements(this.Start, /*keepEmptyFormatting:*/false); 1677TextRangeEdit.CharacterResetFormatting((TextPointer)this.Start, (TextPointer)this.End);
System\Windows\Documents\TextRangeEdit.cs (1)
1380TextRangeEdit.SetParagraphProperty(range.Start, range.End, Block.MarginProperty, thickness, propertyValueAction);
System\Windows\Documents\TextRangeEditLists.cs (16)
245TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End); 248Block firstBlock = range.Start.ParagraphOrBlockUIContainer; 258if (range.IsEmpty && TextPointerBase.IsAtPotentialParagraphPosition(range.Start)) 268if (range.IsEmpty && TextPointerBase.IsAtPotentialParagraphPosition(range.Start)) 270TextPointer insertionPosition = TextRangeEditTables.EnsureInsertionPosition(range.Start); 274Block firstBlock = range.Start.ParagraphOrBlockUIContainer; 276TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End); 339ListItem firstListItem = TextPointerBase.GetListItem(range.Start); 340ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End)); 391TextRangeEdit.SetParagraphProperty(range.Start, range.End, Paragraph.FlowDirectionProperty, flowDirection); 397ListItem firstListItem = TextPointerBase.GetImmediateListItem(range.Start); 398ListItem lastListItem = TextPointerBase.GetImmediateListItem((TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End)); 451ListItem firstListItem = TextPointerBase.GetListItem(range.Start); 452ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End)); 586ListItem startListItem = TextPointerBase.GetListItem(range.Start); 589TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End);
System\Windows\Documents\TextRangeEditTables.cs (12)
1124TextPointer currentRowPosition = rowCount > 0 ? textRange.End : textRange.Start; 1131return new TextRange(textRange.Start, textRange.Start); 1226TableRow startRow = GetTableRowFromPosition(textRange.Start); 1262textRange.Select(textRange.Start, textRange.Start); 1442if (!IdentifyTableElements(textRange.Start, textRange.End, /*includeCellAtMovingPosition:*/false, out startCell, out endCell, out startRow, out endRow, out startRowGroup, out endRowGroup, out startTable, out endTable)) 1450startCell = GetTableCellFromPosition(textRange.Start); 1543textRange.Start, textRange.End, 1836if (!IdentifyTableElements(textRange.Start, textRange.End, /*includeCellAtMovingPosition:*/false, out startCell, out endCell, out startRow, out endRow, out startRowGroup, out endRowGroup, out startTable, out endTable)) 1859textRange.Select(textRange.Start, textRange.End); 1887if (!IdentifyTableElements(textRange.Start, textRange.End, /*includeCellAtMovingPosition:*/false, out startCell, out endCell, out startRow, out endRow, out startRowGroup, out endRowGroup, out startTable, out endTable))
System\Windows\Documents\TextRangeSerialization.cs (1)
1290range.Select(range.Start, range.End);
System\windows\Documents\TextSelection.cs (3)
1424propertyValue = this.Start.Parent.GetValue(formattingProperty); 1446TextPointer start = this.Start; 1550Invariant.Assert(this.Start.LogicalDirection == LogicalDirection.Backward);