25 writes to caretTestPos
System.Windows.Forms (25)
winforms\Managed\System\WinForms\MaskedTextBox.cs (25)
192
this.
caretTestPos
= 0;
1338
if (this.maskedTextProvider.Set(value, out this.
caretTestPos
, out hint))
1345
this.SelectionStart = ++this.
caretTestPos
;
1711
this.
caretTestPos
= startPosition;
1744
this.
caretTestPos
= startPosition;
1758
this.
caretTestPos
= startPosition;
1766
this.
caretTestPos
= this.maskedTextProvider.FindEditPositionFrom(startPosition, forward);
1774
this.
caretTestPos
= this.maskedTextProvider.FindAssignedEditPositionFrom(startPosition, backward);
1780
this.
caretTestPos
= this.maskedTextProvider.FindEditPositionFrom(startPosition, backward);
1785
this.
caretTestPos
++; // backspace gets ready to remove one position past the edit position.
1791
this.
caretTestPos
= startPosition;
1798
this.
caretTestPos
= startPosition;
2222
this.SelectionStart = ++this.
caretTestPos
; // caretTestPos is updated in PlaceChar.
2407
clonedProvider.InsertAt(text, startPosition, out this.
caretTestPos
, out hint ) :
2408
clonedProvider.Replace(text, startPosition, endPos, out this.
caretTestPos
, out hint);
2469
if (!clonedProvider.RemoveAt(startPosition, endPos, out this.
caretTestPos
, out tempHint))
2495
this.
caretTestPos
= startPosition;
2500
this.
caretTestPos
= currentCaretPos;
2627
this.
caretTestPos
= startPosition;
2634
return provider.Replace(ch, startPosition, endPos, out this.
caretTestPos
, out hint);
2641
return provider.Replace(ch, startPosition, out this.
caretTestPos
, out hint);
2645
return provider.InsertAt(ch, startPosition, out this.
caretTestPos
, out hint);
2916
this.
caretTestPos
= this.SelectionStart;
3122
this.
caretTestPos
= startEditPos;
3292
base.GetSelectionStartAndLength( out this.
caretTestPos
, out this.lastSelLength );
15 references to caretTestPos
System.Windows.Forms (15)
winforms\Managed\System\WinForms\MaskedTextBox.cs (15)
1349
OnMaskInputRejected(new MaskInputRejectedEventArgs(this.
caretTestPos
, hint));
1783
if( this.
caretTestPos
!= MaskedTextProvider.InvalidIndex )
1789
if( this.
caretTestPos
== MaskedTextProvider.InvalidIndex )
1812
base.SelectInternal( this.
caretTestPos
, 0, this.maskedTextProvider.Length );
2229
int editPos = this.maskedTextProvider.FindUnassignedEditPositionFrom(this.
caretTestPos
, forward);
2238
OnMaskInputRejected(new MaskInputRejectedEventArgs(this.
caretTestPos
, hint)); // caretTestPos is updated in PlaceChar.
2393
int currentCaretPos = this.
caretTestPos
;
2412
OnMaskInputRejected(new MaskInputRejectedEventArgs(this.
caretTestPos
, hint));
2447
startPosition = this.
caretTestPos
+ 1;
2471
OnMaskInputRejected(new MaskInputRejectedEventArgs(this.
caretTestPos
, tempHint));
2496
base.SelectInternal( this.
caretTestPos
, 0, this.maskedTextProvider.Length );
2928
this.SelectionStart = this.
caretTestPos
;
3123
this.SelectionStart = this.
caretTestPos
;
3299
base.SelectInternal( this.
caretTestPos
, this.lastSelLength, this.maskedTextProvider.Length );
3318
base.SelectInternal( this.
caretTestPos
, this.lastSelLength, this.maskedTextProvider.Length );