62 references to Start
PresentationFramework (62)
System\Windows\Controls\RichTextBox.cs (1)
575
if (!Selection.
Start
.IsInSameDocument(value))
System\Windows\Controls\TextBox.cs (6)
799
return TextSelectionInternal.
Start
.GetOffsetToPosition(TextSelectionInternal.End);
806
int maxLength = TextSelectionInternal.
Start
.GetOffsetToPosition(TextContainer.End);
811
TextPointer newEnd = new TextPointer(TextSelectionInternal.
Start
, value, LogicalDirection.Forward);
817
TextSelectionInternal.Select(TextSelectionInternal.
Start
, newEnd);
840
return this.TextSelectionInternal.
Start
.Offset;
847
int selectionLength = TextSelectionInternal.
Start
.GetOffsetToPosition(TextSelectionInternal.End);
System\windows\Documents\TextEditor.cs (2)
471
XmlLanguage language = (XmlLanguage)((ITextPointer)range.
Start
).GetValue(FrameworkElement.LanguageProperty);
494
FlowDirection currentFlowDirection = (FlowDirection)((ITextPointer)range.
Start
).GetValue(FrameworkElement.FlowDirectionProperty);
System\windows\Documents\TextEditorCharacters.cs (1)
84
!TextRangeEdit.CanApplyStructuralInlineProperty(selection.
Start
, selection.End))
System\windows\Documents\TextEditorLists.cs (13)
42
ListItem parentListItem = TextPointerBase.GetListItem(thisSelection.
Start
);
43
ListItem immediateListItem = TextPointerBase.GetImmediateListItem(thisSelection.
Start
);
126
ListItem parentListItem = TextPointerBase.GetListItem(thisSelection.
Start
);
127
ListItem immediateListItem = TextPointerBase.GetImmediateListItem(thisSelection.
Start
);
235
Block paragraphOrBlockUIContainer = thisSelection.
Start
.ParagraphOrBlockUIContainer;
246
Paragraph paragraph = thisSelection.
Start
.Paragraph;
252
TextRangeEdit.SetParagraphProperty(thisSelection.
Start
, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue);
257
TextRangeEdit.SetParagraphProperty(thisSelection.
Start
, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue);
290
Block paragraphOrBlockUIContainer = thisSelection.
Start
.ParagraphOrBlockUIContainer;
301
Paragraph paragraph = thisSelection.
Start
.Paragraph;
308
TextRangeEdit.SetParagraphProperty(thisSelection.
Start
, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue);
313
TextRangeEdit.SetParagraphProperty(thisSelection.
Start
, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue);
333
TextPointer position = thisSelection.
Start
;
System\windows\Documents\TextEditorTyping.cs (1)
1172
This.Selection.SetCaretToPosition(range.
Start
, LogicalDirection.Forward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false);
System\Windows\Documents\TextPointer.cs (1)
58
/// <see cref="TextRange.
Start
"/> and <see cref="TextRange.End"/>, etc.
System\Windows\Documents\TextRange.cs (4)
1307
return ((TextPointer)this.
Start
).ContainingFrameworkElement;
1576
TextPointer startPosition = TextRangeEditTables.EnsureInsertionPosition(this.
Start
);
1602
TextPointer insertionPosition = TextRangeEdit.SplitFormattingElements(this.
Start
, /*keepEmptyFormatting:*/false);
1677
TextRangeEdit.CharacterResetFormatting((TextPointer)this.
Start
, (TextPointer)this.End);
System\Windows\Documents\TextRangeEdit.cs (1)
1380
TextRangeEdit.SetParagraphProperty(range.
Start
, range.End, Block.MarginProperty, thickness, propertyValueAction);
System\Windows\Documents\TextRangeEditLists.cs (16)
245
TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.
Start
, range.End);
248
Block firstBlock = range.
Start
.ParagraphOrBlockUIContainer;
258
if (range.IsEmpty && TextPointerBase.IsAtPotentialParagraphPosition(range.
Start
))
268
if (range.IsEmpty && TextPointerBase.IsAtPotentialParagraphPosition(range.
Start
))
270
TextPointer insertionPosition = TextRangeEditTables.EnsureInsertionPosition(range.
Start
);
274
Block firstBlock = range.
Start
.ParagraphOrBlockUIContainer;
276
TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.
Start
, range.End);
339
ListItem firstListItem = TextPointerBase.GetListItem(range.
Start
);
340
ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.
Start
, range.End));
391
TextRangeEdit.SetParagraphProperty(range.
Start
, range.End, Paragraph.FlowDirectionProperty, flowDirection);
397
ListItem firstListItem = TextPointerBase.GetImmediateListItem(range.
Start
);
398
ListItem lastListItem = TextPointerBase.GetImmediateListItem((TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.
Start
, range.End));
451
ListItem firstListItem = TextPointerBase.GetListItem(range.
Start
);
452
ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.
Start
, range.End));
586
ListItem startListItem = TextPointerBase.GetListItem(range.
Start
);
589
TextPointer end = (TextPointer)TextRangeEdit.GetAdjustedRangeEnd(range.
Start
, range.End);
System\Windows\Documents\TextRangeEditTables.cs (12)
1124
TextPointer currentRowPosition = rowCount > 0 ? textRange.End : textRange.
Start
;
1131
return new TextRange(textRange.
Start
, textRange.
Start
);
1226
TableRow startRow = GetTableRowFromPosition(textRange.
Start
);
1262
textRange.Select(textRange.
Start
, textRange.
Start
);
1442
if (!IdentifyTableElements(textRange.
Start
, textRange.End, /*includeCellAtMovingPosition:*/false, out startCell, out endCell, out startRow, out endRow, out startRowGroup, out endRowGroup, out startTable, out endTable))
1450
startCell = GetTableCellFromPosition(textRange.
Start
);
1543
textRange.
Start
, textRange.End,
1836
if (!IdentifyTableElements(textRange.
Start
, textRange.End, /*includeCellAtMovingPosition:*/false, out startCell, out endCell, out startRow, out endRow, out startRowGroup, out endRowGroup, out startTable, out endTable))
1859
textRange.Select(textRange.
Start
, textRange.End);
1887
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)
1290
range.Select(range.
Start
, range.End);
System\windows\Documents\TextSelection.cs (3)
1424
propertyValue = this.
Start
.Parent.GetValue(formattingProperty);
1446
TextPointer start = this.
Start
;
1550
Invariant.Assert(this.
Start
.LogicalDirection == LogicalDirection.Backward);