25 writes to _caretTestPos
System.Windows.Forms (25)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (25)
174
_caretTestPos
= 0;
1174
if (_maskedTextProvider.Set(value, out
_caretTestPos
, out MaskedTextResultHint hint))
1181
SelectionStart = ++
_caretTestPos
;
1512
_caretTestPos
= startPosition;
1542
_caretTestPos
= startPosition;
1556
_caretTestPos
= startPosition;
1564
_caretTestPos
= _maskedTextProvider.FindEditPositionFrom(startPosition, Forward);
1572
_caretTestPos
= _maskedTextProvider.FindAssignedEditPositionFrom(startPosition, Backward);
1578
_caretTestPos
= _maskedTextProvider.FindEditPositionFrom(startPosition, Backward);
1583
_caretTestPos
++; // backspace gets ready to remove one position past the edit position.
1589
_caretTestPos
= startPosition;
1596
_caretTestPos
= startPosition;
1994
SelectionStart = ++
_caretTestPos
; // caretTestPos is updated in PlaceChar.
2188
clonedProvider.InsertAt(text, startPosition, out
_caretTestPos
, out hint) :
2189
clonedProvider.Replace(text, startPosition, endPos, out
_caretTestPos
, out hint);
2250
if (!clonedProvider.RemoveAt(startPosition, endPos, out
_caretTestPos
, out tempHint))
2276
_caretTestPos
= startPosition;
2281
_caretTestPos
= currentCaretPos;
2403
_caretTestPos
= startPosition;
2410
return provider.Replace(ch, startPosition, endPos, out
_caretTestPos
, out hint);
2417
return provider.Replace(ch, startPosition, out
_caretTestPos
, out hint);
2421
return provider.InsertAt(ch, startPosition, out
_caretTestPos
, out hint);
2664
_caretTestPos
= SelectionStart;
2856
_caretTestPos
= startEditPos;
3017
GetSelectionStartAndLength(out
_caretTestPos
, out _lastSelLength);
15 references to _caretTestPos
System.Windows.Forms (15)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (15)
1185
OnMaskInputRejected(new MaskInputRejectedEventArgs(
_caretTestPos
, hint));
1581
if (
_caretTestPos
!= MaskedTextProvider.InvalidIndex)
1587
if (
_caretTestPos
== MaskedTextProvider.InvalidIndex)
1610
base.SelectInternal(
_caretTestPos
, 0, _maskedTextProvider.Length);
2001
int editPos = _maskedTextProvider.FindUnassignedEditPositionFrom(
_caretTestPos
, Forward);
2010
OnMaskInputRejected(new MaskInputRejectedEventArgs(
_caretTestPos
, hint)); // caretTestPos is updated in PlaceChar.
2174
int currentCaretPos =
_caretTestPos
;
2193
OnMaskInputRejected(new MaskInputRejectedEventArgs(
_caretTestPos
, hint));
2228
startPosition =
_caretTestPos
+ 1;
2252
OnMaskInputRejected(new MaskInputRejectedEventArgs(
_caretTestPos
, tempHint));
2277
base.SelectInternal(
_caretTestPos
, 0, _maskedTextProvider.Length);
2676
SelectionStart =
_caretTestPos
;
2857
SelectionStart =
_caretTestPos
;
3024
base.SelectInternal(
_caretTestPos
, _lastSelLength, _maskedTextProvider.Length);
3043
base.SelectInternal(
_caretTestPos
, _lastSelLength, _maskedTextProvider.Length);