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