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