62 references to Start
PresentationFramework (62)
System\Windows\Controls\RichTextBox.cs (1)
577if (!Selection.Start.IsInSameDocument(value))
System\Windows\Controls\TextBox.cs (6)
804return TextSelectionInternal.Start.GetOffsetToPosition(TextSelectionInternal.End); 811int maxLength = TextSelectionInternal.Start.GetOffsetToPosition(TextContainer.End); 816TextPointer newEnd = new TextPointer(TextSelectionInternal.Start, value, LogicalDirection.Forward); 822TextSelectionInternal.Select(TextSelectionInternal.Start, newEnd); 845return this.TextSelectionInternal.Start.Offset; 852int selectionLength = TextSelectionInternal.Start.GetOffsetToPosition(TextSelectionInternal.End);
System\windows\Documents\TextEditor.cs (2)
482XmlLanguage language = (XmlLanguage)((ITextPointer)range.Start).GetValue(FrameworkElement.LanguageProperty); 505FlowDirection currentFlowDirection = (FlowDirection)((ITextPointer)range.Start).GetValue(FrameworkElement.FlowDirectionProperty);
System\windows\Documents\TextEditorCharacters.cs (1)
100!TextRangeEdit.CanApplyStructuralInlineProperty(selection.Start, selection.End))
System\windows\Documents\TextEditorLists.cs (13)
58ListItem parentListItem = TextPointerBase.GetListItem(thisSelection.Start); 59ListItem immediateListItem = TextPointerBase.GetImmediateListItem(thisSelection.Start); 142ListItem parentListItem = TextPointerBase.GetListItem(thisSelection.Start); 143ListItem immediateListItem = TextPointerBase.GetImmediateListItem(thisSelection.Start); 251Block paragraphOrBlockUIContainer = thisSelection.Start.ParagraphOrBlockUIContainer; 262Paragraph paragraph = thisSelection.Start.Paragraph; 268TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue); 273TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue); 306Block paragraphOrBlockUIContainer = thisSelection.Start.ParagraphOrBlockUIContainer; 317Paragraph paragraph = thisSelection.Start.Paragraph; 324TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue); 329TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue); 349TextPointer position = thisSelection.Start;
System\windows\Documents\TextEditorTyping.cs (1)
1181This.Selection.SetCaretToPosition(range.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
System\Windows\Documents\TextPointer.cs (1)
63/// <see cref="TextRange.Start"/> and <see cref="TextRange.End"/>, etc.
System\Windows\Documents\TextRange.cs (4)
1318return ((TextPointer)this.Start).ContainingFrameworkElement; 1587TextPointer startPosition = TextRangeEditTables.EnsureInsertionPosition(this.Start); 1612TextPointer insertionPosition = TextRangeEdit.SplitFormattingElements(this.Start, /*keepEmptyFormatting:*/false); 1687TextRangeEdit.CharacterResetFormatting((TextPointer)this.Start, (TextPointer)this.End);
System\Windows\Documents\TextRangeEdit.cs (1)
1382TextRangeEdit.SetParagraphProperty(range.Start, range.End, Block.MarginProperty, thickness, propertyValueAction);
System\Windows\Documents\TextRangeEditLists.cs (16)
247TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End); 250Block firstBlock = range.Start.ParagraphOrBlockUIContainer; 260if (range.IsEmpty && TextPointerBase.IsAtPotentialParagraphPosition(range.Start)) 270if (range.IsEmpty && TextPointerBase.IsAtPotentialParagraphPosition(range.Start)) 272TextPointer insertionPosition = TextRangeEditTables.EnsureInsertionPosition(range.Start); 276Block firstBlock = range.Start.ParagraphOrBlockUIContainer; 278TextPointer 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)
1122TextPointer currentRowPosition = rowCount > 0 ? textRange.End : textRange.Start; 1129return new TextRange(textRange.Start, textRange.Start); 1224TableRow startRow = GetTableRowFromPosition(textRange.Start); 1260textRange.Select(textRange.Start, textRange.Start); 1440if (!IdentifyTableElements(textRange.Start, textRange.End, /*includeCellAtMovingPosition:*/false, out startCell, out endCell, out startRow, out endRow, out startRowGroup, out endRowGroup, out startTable, out endTable)) 1448startCell = GetTableCellFromPosition(textRange.Start); 1541textRange.Start, textRange.End, 1834if (!IdentifyTableElements(textRange.Start, textRange.End, /*includeCellAtMovingPosition:*/false, out startCell, out endCell, out startRow, out endRow, out startRowGroup, out endRowGroup, out startTable, out endTable)) 1857textRange.Select(textRange.Start, textRange.End); 1885if (!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)
1296range.Select(range.Start, range.End);
System\windows\Documents\TextSelection.cs (3)
1427propertyValue = this.Start.Parent.GetValue(formattingProperty); 1449TextPointer start = this.Start; 1553Invariant.Assert(this.Start.LogicalDirection == LogicalDirection.Backward);