11 references to MaskInputRejectedEventArgs
System.Windows.Forms (10)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (10)
1185OnMaskInputRejected(new MaskInputRejectedEventArgs(_caretTestPos, hint)); 1604OnMaskInputRejected(new MaskInputRejectedEventArgs(tempPos, hint)); 2010OnMaskInputRejected(new MaskInputRejectedEventArgs(_caretTestPos, hint)); // caretTestPos is updated in PlaceChar. 2193OnMaskInputRejected(new MaskInputRejectedEventArgs(_caretTestPos, hint)); 2211OnMaskInputRejected(new MaskInputRejectedEventArgs(startPosition, MaskedTextResultHint.UnavailableEditPosition)); 2237OnMaskInputRejected(new MaskInputRejectedEventArgs(startPosition, tempHint)); 2249OnMaskInputRejected(new MaskInputRejectedEventArgs(_caretTestPos, tempHint)); 2597OnMaskInputRejected(new MaskInputRejectedEventArgs(testPos, hint)); 2837OnMaskInputRejected(new MaskInputRejectedEventArgs(startPosition, MaskedTextResultHint.UnavailableEditPosition)); 2854OnMaskInputRejected(new MaskInputRejectedEventArgs(startPosition, MaskedTextResultHint.UnavailableEditPosition));
System.Windows.Forms.Tests (1)
System\Windows\Forms\MaskInputRejectedEventArgsTests.cs (1)
19MaskInputRejectedEventArgs e = new(position, rejectionHint);