62 references to Start
PresentationFramework (62)
System\Windows\Controls\RichTextBox.cs (1)
574if (!Selection.Start.IsInSameDocument(value))
System\Windows\Controls\TextBox.cs (6)
798return TextSelectionInternal.Start.GetOffsetToPosition(TextSelectionInternal.End); 805int maxLength = TextSelectionInternal.Start.GetOffsetToPosition(TextContainer.End); 810TextPointer newEnd = new TextPointer(TextSelectionInternal.Start, value, LogicalDirection.Forward); 816TextSelectionInternal.Select(TextSelectionInternal.Start, newEnd); 839return this.TextSelectionInternal.Start.Offset; 846int selectionLength = TextSelectionInternal.Start.GetOffsetToPosition(TextSelectionInternal.End);
System\windows\Documents\TextEditor.cs (2)
467XmlLanguage language = (XmlLanguage)((ITextPointer)range.Start).GetValue(FrameworkElement.LanguageProperty); 490FlowDirection currentFlowDirection = (FlowDirection)((ITextPointer)range.Start).GetValue(FrameworkElement.FlowDirectionProperty);
System\windows\Documents\TextEditorCharacters.cs (1)
83!TextRangeEdit.CanApplyStructuralInlineProperty(selection.Start, selection.End))
System\windows\Documents\TextEditorLists.cs (13)
41ListItem parentListItem = TextPointerBase.GetListItem(thisSelection.Start); 42ListItem immediateListItem = TextPointerBase.GetImmediateListItem(thisSelection.Start); 125ListItem parentListItem = TextPointerBase.GetListItem(thisSelection.Start); 126ListItem immediateListItem = TextPointerBase.GetImmediateListItem(thisSelection.Start); 234Block paragraphOrBlockUIContainer = thisSelection.Start.ParagraphOrBlockUIContainer; 245Paragraph paragraph = thisSelection.Start.Paragraph; 251TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue); 256TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue); 289Block paragraphOrBlockUIContainer = thisSelection.Start.ParagraphOrBlockUIContainer; 300Paragraph paragraph = thisSelection.Start.Paragraph; 307TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue); 312TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue); 332TextPointer position = thisSelection.Start;
System\windows\Documents\TextEditorTyping.cs (1)
1162This.Selection.SetCaretToPosition(range.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
System\Windows\Documents\TextPointer.cs (1)
57/// <see cref="TextRange.Start"/> and <see cref="TextRange.End"/>, etc.
System\Windows\Documents\TextRange.cs (4)
1306return ((TextPointer)this.Start).ContainingFrameworkElement; 1575TextPointer startPosition = TextRangeEditTables.EnsureInsertionPosition(this.Start); 1601TextPointer insertionPosition = TextRangeEdit.SplitFormattingElements(this.Start, /*keepEmptyFormatting:*/false); 1676TextRangeEdit.CharacterResetFormatting((TextPointer)this.Start, (TextPointer)this.End);
System\Windows\Documents\TextRangeEdit.cs (1)
1379TextRangeEdit.SetParagraphProperty(range.Start, range.End, Block.MarginProperty, thickness, propertyValueAction);
System\Windows\Documents\TextRangeEditLists.cs (16)
244TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End); 247Block firstBlock = range.Start.ParagraphOrBlockUIContainer; 257if (range.IsEmpty && TextPointerBase.IsAtPotentialParagraphPosition(range.Start)) 267if (range.IsEmpty && TextPointerBase.IsAtPotentialParagraphPosition(range.Start)) 269TextPointer insertionPosition = TextRangeEditTables.EnsureInsertionPosition(range.Start); 273Block firstBlock = range.Start.ParagraphOrBlockUIContainer; 275TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End); 338ListItem firstListItem = TextPointerBase.GetListItem(range.Start); 339ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End)); 390TextRangeEdit.SetParagraphProperty(range.Start, range.End, Paragraph.FlowDirectionProperty, flowDirection); 396ListItem firstListItem = TextPointerBase.GetImmediateListItem(range.Start); 397ListItem lastListItem = TextPointerBase.GetImmediateListItem((TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End)); 450ListItem firstListItem = TextPointerBase.GetListItem(range.Start); 451ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End)); 585ListItem startListItem = TextPointerBase.GetListItem(range.Start); 588TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End);
System\Windows\Documents\TextRangeEditTables.cs (12)
1123TextPointer currentRowPosition = rowCount > 0 ? textRange.End : textRange.Start; 1130return new TextRange(textRange.Start, textRange.Start); 1225TableRow startRow = GetTableRowFromPosition(textRange.Start); 1261textRange.Select(textRange.Start, textRange.Start); 1441if (!IdentifyTableElements(textRange.Start, textRange.End, /*includeCellAtMovingPosition:*/false, out startCell, out endCell, out startRow, out endRow, out startRowGroup, out endRowGroup, out startTable, out endTable)) 1449startCell = GetTableCellFromPosition(textRange.Start); 1542textRange.Start, textRange.End, 1835if (!IdentifyTableElements(textRange.Start, textRange.End, /*includeCellAtMovingPosition:*/false, out startCell, out endCell, out startRow, out endRow, out startRowGroup, out endRowGroup, out startTable, out endTable)) 1858textRange.Select(textRange.Start, textRange.End); 1886if (!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)
1289range.Select(range.Start, range.End);
System\windows\Documents\TextSelection.cs (3)
1408propertyValue = this.Start.Parent.GetValue(formattingProperty); 1430TextPointer start = this.Start; 1534Invariant.Assert(this.Start.LogicalDirection == LogicalDirection.Backward);