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