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