62 references to Start
PresentationFramework (62)
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
591if (!Selection.Start.IsInSameDocument(value))
src\Framework\System\Windows\Controls\TextBox.cs (6)
833return TextSelectionInternal.Start.GetOffsetToPosition(TextSelectionInternal.End); 843int maxLength = TextSelectionInternal.Start.GetOffsetToPosition(TextContainer.End); 848TextPointer newEnd = new TextPointer(TextSelectionInternal.Start, value, LogicalDirection.Forward); 854TextSelectionInternal.Select(TextSelectionInternal.Start, newEnd); 877return this.TextSelectionInternal.Start.Offset; 887int selectionLength = TextSelectionInternal.Start.GetOffsetToPosition(TextSelectionInternal.End);
src\Framework\System\windows\Documents\TextEditor.cs (2)
497XmlLanguage language = (XmlLanguage)((ITextPointer)range.Start).GetValue(FrameworkElement.LanguageProperty); 520FlowDirection currentFlowDirection = (FlowDirection)((ITextPointer)range.Start).GetValue(FrameworkElement.FlowDirectionProperty);
src\Framework\System\windows\Documents\TextEditorCharacters.cs (1)
102!TextRangeEdit.CanApplyStructuralInlineProperty(selection.Start, selection.End))
src\Framework\System\windows\Documents\TextEditorLists.cs (13)
60ListItem parentListItem = TextPointerBase.GetListItem(thisSelection.Start); 61ListItem immediateListItem = TextPointerBase.GetImmediateListItem(thisSelection.Start); 144ListItem parentListItem = TextPointerBase.GetListItem(thisSelection.Start); 145ListItem immediateListItem = TextPointerBase.GetImmediateListItem(thisSelection.Start); 253Block paragraphOrBlockUIContainer = thisSelection.Start.ParagraphOrBlockUIContainer; 264Paragraph paragraph = thisSelection.Start.Paragraph; 270TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue); 275TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue); 308Block paragraphOrBlockUIContainer = thisSelection.Start.ParagraphOrBlockUIContainer; 319Paragraph paragraph = thisSelection.Start.Paragraph; 326TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue); 331TextRangeEdit.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue); 351TextPointer position = thisSelection.Start;
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1198This.Selection.SetCaretToPosition(range.Start, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
src\Framework\System\Windows\Documents\TextPointer.cs (1)
65/// <see cref="TextRange.Start"/> and <see cref="TextRange.End"/>, etc.
src\Framework\System\Windows\Documents\TextRange.cs (4)
1315return ((TextPointer)this.Start).ContainingFrameworkElement; 1584TextPointer startPosition = TextRangeEditTables.EnsureInsertionPosition(this.Start); 1609TextPointer insertionPosition = TextRangeEdit.SplitFormattingElements(this.Start, /*keepEmptyFormatting:*/false); 1684TextRangeEdit.CharacterResetFormatting((TextPointer)this.Start, (TextPointer)this.End);
src\Framework\System\Windows\Documents\TextRangeEdit.cs (1)
1384TextRangeEdit.SetParagraphProperty(range.Start, range.End, Block.MarginProperty, thickness, propertyValueAction);
src\Framework\System\Windows\Documents\TextRangeEditLists.cs (16)
249TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End); 252Block firstBlock = range.Start.ParagraphOrBlockUIContainer; 262if (range.IsEmpty && TextPointerBase.IsAtPotentialParagraphPosition(range.Start)) 272if (range.IsEmpty && TextPointerBase.IsAtPotentialParagraphPosition(range.Start)) 274TextPointer insertionPosition = TextRangeEditTables.EnsureInsertionPosition(range.Start); 278Block firstBlock = range.Start.ParagraphOrBlockUIContainer; 280TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End); 341ListItem firstListItem = TextPointerBase.GetListItem(range.Start); 342ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End)); 393TextRangeEdit.SetParagraphProperty(range.Start, range.End, Paragraph.FlowDirectionProperty, flowDirection); 399ListItem firstListItem = TextPointerBase.GetImmediateListItem(range.Start); 400ListItem lastListItem = TextPointerBase.GetImmediateListItem((TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End)); 453ListItem firstListItem = TextPointerBase.GetListItem(range.Start); 454ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End)); 588ListItem startListItem = TextPointerBase.GetListItem(range.Start); 591TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.Start, range.End);
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (12)
1125TextPointer currentRowPosition = rowCount > 0 ? textRange.End : textRange.Start; 1132return new TextRange(textRange.Start, textRange.Start); 1227TableRow startRow = GetTableRowFromPosition(textRange.Start); 1263textRange.Select(textRange.Start, textRange.Start); 1443if (!IdentifyTableElements(textRange.Start, textRange.End, /*includeCellAtMovingPosition:*/false, out startCell, out endCell, out startRow, out endRow, out startRowGroup, out endRowGroup, out startTable, out endTable)) 1451startCell = GetTableCellFromPosition(textRange.Start); 1544textRange.Start, textRange.End, 1837if (!IdentifyTableElements(textRange.Start, textRange.End, /*includeCellAtMovingPosition:*/false, out startCell, out endCell, out startRow, out endRow, out startRowGroup, out endRowGroup, out startTable, out endTable)) 1860textRange.Select(textRange.Start, textRange.End); 1888if (!IdentifyTableElements(textRange.Start, textRange.End, /*includeCellAtMovingPosition:*/false, out startCell, out endCell, out startRow, out endRow, out startRowGroup, out endRowGroup, out startTable, out endTable))
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1320range.Select(range.Start, range.End);
src\Framework\System\windows\Documents\TextSelection.cs (3)
1430propertyValue = this.Start.Parent.GetValue(formattingProperty); 1452TextPointer start = this.Start; 1556Invariant.Assert(this.Start.LogicalDirection == LogicalDirection.Backward);