118 references to MaskedTextResultHint
System (97)
compmod\system\componentmodel\MaskedTextProvider.cs (97)
899
MaskedTextResultHint
dummyVar2;
911
public bool Add( char input, out int testPosition, out
MaskedTextResultHint
resultHint )
918
resultHint =
MaskedTextResultHint
.UnavailableEditPosition;
928
resultHint =
MaskedTextResultHint
.UnavailableEditPosition;
949
MaskedTextResultHint
dummyVar2;
961
public bool Add( string input, out int testPosition, out
MaskedTextResultHint
resultHint )
973
resultHint =
MaskedTextResultHint
.NoEffect;
985
MaskedTextResultHint
dummyHint;
993
public void Clear( out
MaskedTextResultHint
resultHint )
997
resultHint =
MaskedTextResultHint
.NoEffect;
1001
resultHint =
MaskedTextResultHint
.Success;
1287
public static bool GetOperationResultFromHint(
MaskedTextResultHint
hint )
1316
public bool InsertAt(char input, int position, out int testPosition, out
MaskedTextResultHint
resultHint)
1329
MaskedTextResultHint
dummyVar2;
1341
public bool InsertAt(string input, int position, out int testPosition, out
MaskedTextResultHint
resultHint)
1351
resultHint =
MaskedTextResultHint
.PositionOutOfRange;
1368
private bool InsertAtInt(string input, int position, out int testPosition, out
MaskedTextResultHint
resultHint, bool testOnly)
1375
resultHint =
MaskedTextResultHint
.NoEffect;
1393
resultHint =
MaskedTextResultHint
.UnavailableEditPosition;
1403
MaskedTextResultHint
tempHint =
MaskedTextResultHint
.Unknown;
1410
resultHint =
MaskedTextResultHint
.UnavailableEditPosition;
1590
MaskedTextResultHint
dummyVar2;
1601
public bool Remove(out int testPosition, out
MaskedTextResultHint
resultHint)
1608
resultHint =
MaskedTextResultHint
.NoEffect;
1615
resultHint =
MaskedTextResultHint
.Success;
1638
MaskedTextResultHint
dummyVar2;
1650
public bool RemoveAt(int startPosition, int endPosition, out int testPosition, out
MaskedTextResultHint
resultHint)
1655
resultHint =
MaskedTextResultHint
.PositionOutOfRange;
1663
resultHint =
MaskedTextResultHint
.PositionOutOfRange;
1680
private bool RemoveAtInt(int startPosition, int endPosition, out int testPosition, out
MaskedTextResultHint
resultHint, bool testOnly)
1688
resultHint =
MaskedTextResultHint
.NoEffect;
1704
resultHint =
MaskedTextResultHint
.Success;
1713
MaskedTextResultHint
testHint;
1743
if(
MaskedTextResultHint
.SideEffect > resultHint )
1745
resultHint =
MaskedTextResultHint
.SideEffect;
1804
MaskedTextResultHint
dummyVar2;
1816
public bool Replace(char input, int position, out int testPosition, out
MaskedTextResultHint
resultHint)
1821
resultHint =
MaskedTextResultHint
.PositionOutOfRange;
1836
resultHint =
MaskedTextResultHint
.UnavailableEditPosition;
1861
public bool Replace(char input, int startPosition, int endPosition, out int testPosition, out
MaskedTextResultHint
resultHint)
1866
resultHint =
MaskedTextResultHint
.PositionOutOfRange;
1874
resultHint =
MaskedTextResultHint
.PositionOutOfRange;
1897
MaskedTextResultHint
dummyVar2;
1910
public bool Replace(string input, int position, out int testPosition, out
MaskedTextResultHint
resultHint)
1920
resultHint =
MaskedTextResultHint
.PositionOutOfRange;
1949
public bool Replace(string input, int startPosition, int endPosition, out int testPosition, out
MaskedTextResultHint
resultHint)
1959
resultHint =
MaskedTextResultHint
.PositionOutOfRange;
1967
resultHint =
MaskedTextResultHint
.PositionOutOfRange;
1995
MaskedTextResultHint
tempHint;
2008
if (tempHint ==
MaskedTextResultHint
.Success && resultHint != tempHint)
2010
resultHint =
MaskedTextResultHint
.SideEffect;
2028
resultHint =
MaskedTextResultHint
.UnavailableEditPosition;
2040
if (tempHint ==
MaskedTextResultHint
.Success && resultHint != tempHint)
2042
resultHint =
MaskedTextResultHint
.Success;
2125
MaskedTextResultHint
dummyVar2;
2138
public bool Set(string input, out int testPosition, out
MaskedTextResultHint
resultHint)
2145
resultHint =
MaskedTextResultHint
.Unknown;
2310
private bool TestChar(char input, int position, out
MaskedTextResultHint
resultHint)
2317
resultHint =
MaskedTextResultHint
.InvalidInput;
2331
resultHint =
MaskedTextResultHint
.CharacterEscaped;
2335
resultHint =
MaskedTextResultHint
.NonEditPosition;
2345
resultHint =
MaskedTextResultHint
.SideEffect;
2349
resultHint =
MaskedTextResultHint
.CharacterEscaped;
2357
resultHint =
MaskedTextResultHint
.PromptCharNotAllowed;
2366
resultHint =
MaskedTextResultHint
.SideEffect;
2370
resultHint =
MaskedTextResultHint
.CharacterEscaped;
2385
resultHint =
MaskedTextResultHint
.DigitExpected;
2393
resultHint =
MaskedTextResultHint
.DigitExpected;
2401
resultHint =
MaskedTextResultHint
.DigitExpected;
2409
resultHint =
MaskedTextResultHint
.LetterExpected;
2414
resultHint =
MaskedTextResultHint
.AsciiCharacterExpected;
2422
resultHint =
MaskedTextResultHint
.LetterExpected;
2427
resultHint =
MaskedTextResultHint
.AsciiCharacterExpected;
2435
resultHint =
MaskedTextResultHint
.AsciiCharacterExpected;
2443
resultHint =
MaskedTextResultHint
.AsciiCharacterExpected;
2451
resultHint =
MaskedTextResultHint
.AlphanumericCharacterExpected;
2456
resultHint =
MaskedTextResultHint
.AsciiCharacterExpected;
2464
resultHint =
MaskedTextResultHint
.AlphanumericCharacterExpected;
2469
resultHint =
MaskedTextResultHint
.AsciiCharacterExpected;
2483
resultHint =
MaskedTextResultHint
.NoEffect;
2487
resultHint =
MaskedTextResultHint
.Success;
2528
private bool TestSetChar(char input, int position, out
MaskedTextResultHint
resultHint)
2532
if( resultHint ==
MaskedTextResultHint
.Success || resultHint ==
MaskedTextResultHint
.SideEffect ) // the character is not to be escaped.
2551
private bool TestSetString(string input, int position, out int testPosition, out
MaskedTextResultHint
resultHint)
2570
private bool TestString(string input, int position, out int testPosition, out
MaskedTextResultHint
resultHint)
2575
resultHint =
MaskedTextResultHint
.Unknown;
2585
MaskedTextResultHint
tempHint = resultHint;
2591
resultHint =
MaskedTextResultHint
.UnavailableEditPosition;
2603
resultHint =
MaskedTextResultHint
.UnavailableEditPosition;
2825
public bool VerifyChar(char input, int position, out
MaskedTextResultHint
hint)
2827
hint =
MaskedTextResultHint
.NoEffect;
2831
hint =
MaskedTextResultHint
.PositionOutOfRange;
2857
MaskedTextResultHint
dummyVar2;
2868
public bool VerifyString(string input, out int testPosition, out
MaskedTextResultHint
resultHint)
2874
resultHint =
MaskedTextResultHint
.NoEffect;
System.Windows.Forms (21)
winforms\Managed\System\WinForms\MaskedTextBox.cs (18)
1336
MaskedTextResultHint
hint;
1735
MaskedTextResultHint
hint;
1762
if( hint ==
MaskedTextResultHint
.NoEffect ) // Case 2.
2206
MaskedTextResultHint
hint;
2399
MaskedTextResultHint
hint =
MaskedTextResultHint
.NoEffect;
2418
MaskedTextResultHint
tempHint = hint;
2432
OnMaskInputRejected(new MaskInputRejectedEventArgs(startPosition,
MaskedTextResultHint
.UnavailableEditPosition));
2451
if (tempHint ==
MaskedTextResultHint
.Success && hint != tempHint)
2476
if (hint ==
MaskedTextResultHint
.NoEffect && hint != tempHint)
2614
out
MaskedTextResultHint
hint)
2623
out
MaskedTextResultHint
hint)
2650
hint =
MaskedTextResultHint
.UnavailableEditPosition;
2782
MaskedTextResultHint
hint =
MaskedTextResultHint
.NoEffect;
2827
hint =
MaskedTextResultHint
.UnavailableEditPosition;
3114
OnMaskInputRejected(new MaskInputRejectedEventArgs(startPosition,
MaskedTextResultHint
.UnavailableEditPosition));
3131
OnMaskInputRejected(new MaskInputRejectedEventArgs(startPosition,
MaskedTextResultHint
.UnavailableEditPosition));
winforms\Managed\System\WinForms\MaskInputRejectedEventArgs.cs (3)
18
MaskedTextResultHint
hint;
20
public MaskInputRejectedEventArgs(int position,
MaskedTextResultHint
rejectionHint)
41
public
MaskedTextResultHint
RejectionHint