108 references to _flagState
System.Windows.Forms (108)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (108)
114_flagState[s_isNullMask] = true; 126_flagState[s_isNullMask] = false; 137_flagState[s_isNullMask] = false; 153if (!_flagState[s_isNullMask]) 162_flagState[s_hidePromptOnLeave] = false; 163_flagState[s_beepOnError] = false; 164_flagState[s_useSystemPasswordChar] = false; 165_flagState[s_rejectInputOnFirstFailure] = false; 169_flagState[s_cutCopyIncludePrompt] = _maskedTextProvider.IncludePrompt; 170_flagState[s_cutCopyIncludeLiterals] = _maskedTextProvider.IncludeLiterals; 173_flagState[s_handleKeyPress] = true; 279return _flagState[s_beepOnError]; 283_flagState[s_beepOnError] = value; 381if (_flagState[s_cutCopyIncludePrompt]) 383if (_flagState[s_cutCopyIncludeLiterals]) 391if (_flagState[s_cutCopyIncludeLiterals]) 406_flagState[s_cutCopyIncludePrompt] = true; 407_flagState[s_cutCopyIncludeLiterals] = false; 411_flagState[s_cutCopyIncludePrompt] = false; 412_flagState[s_cutCopyIncludeLiterals] = true; 417_flagState[s_cutCopyIncludePrompt] = include; 418_flagState[s_cutCopyIncludeLiterals] = include; 452return _flagState[s_hidePromptOnLeave]; 456if (_flagState[s_hidePromptOnLeave] != value) 458_flagState[s_hidePromptOnLeave] = value; 462if (!_flagState[s_isNullMask] && !Focused && !MaskFull && !DesignMode) 554if (_flagState[s_isNullMask]) 573return _flagState[s_insertToggled]; 606_flagState[s_queryBaseText] = true; 613_flagState[s_queryBaseText] = false; 637return _flagState[s_isNullMask] ? string.Empty : _maskedTextProvider.Mask; 647if (_flagState[s_isNullMask] == string.IsNullOrEmpty(value) && (_flagState[s_isNullMask] || value == _maskedTextProvider.Mask)) 665_flagState[s_isNullMask] = true; 698if (_flagState[s_isNullMask]) 770return _flagState[s_isNullMask] ? null : (MaskedTextProvider)_maskedTextProvider.Clone(); 863if (_flagState[s_isNullMask]) 944if (!_flagState[s_isNullMask]) 964return _flagState[s_rejectInputOnFirstFailure]; 968_flagState[s_rejectInputOnFirstFailure] = value; 1037if (_flagState[s_isNullMask]) 1052if (_flagState[s_isNullMask]) 1066_flagState[s_imeCompleting] = true; 1149if (_flagState[s_isNullMask] || _flagState[s_queryBaseText]) 1158if (_flagState[s_isNullMask]) 1204if (_flagState[s_isNullMask]) 1227Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1316string? oldText = _flagState[s_isNullMask] ? null : TextOutput; 1348if (_flagState[s_isNullMask]) 1394return _flagState[s_useSystemPasswordChar]; 1398if (value != _flagState[s_useSystemPasswordChar]) 1416_flagState[s_useSystemPasswordChar] = value; 1418if (_flagState[s_isNullMask]) 1490if (!_flagState[s_isNullMask] && RecreatingHandle) 1505Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1622_flagState[s_queryBaseText] = true; 1629_flagState[s_queryBaseText] = false; 1642_flagState[s_queryBaseText] = true; 1649_flagState[s_queryBaseText] = false; 1661if (_flagState[s_isNullMask]) 1700Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1737_flagState[s_queryBaseText] = true; 1744_flagState[s_queryBaseText] = false; 1758_flagState[s_queryBaseText] = true; 1765_flagState[s_queryBaseText] = false; 1778Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1823if (_flagState[s_isNullMask] && _maskedTextProvider.IsPassword) 1848if (_flagState[s_isNullMask]) 1859_flagState[s_handleKeyPress] = false; 1866_flagState[s_insertToggled] = !_flagState[s_insertToggled]; 1894_flagState[s_handleKeyPress] = false; 1932if (!_flagState[s_handleKeyPress]) 1934_flagState[s_handleKeyPress] = true; 1960if (_flagState[s_isNullMask]) 1967if (!_flagState[s_handleKeyPress]) 1969_flagState[s_handleKeyPress] = true; 2031if (_flagState[s_imeCompleting]) 2033_flagState[s_imeCompleting] = false; 2036if (_flagState[s_imeEndingComposition]) 2038_flagState[s_imeEndingComposition] = false; 2064Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2146bool queryBaseText = _flagState[s_queryBaseText]; 2147_flagState[s_queryBaseText] = false; 2154_flagState[s_queryBaseText] = queryBaseText; 2164Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2283Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2314if (!_flagState[s_isNullMask] && !_maskedTextProvider.MaskCompleted) 2322if (!_flagState[s_isNullMask]) // replace prompt with space. 2390Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2454if (_flagState[s_isNullMask]) 2512if (_flagState[s_isNullMask] && textOnInitializingMask is null) 2588if (_flagState[s_isNullMask]) 2590_flagState[s_isNullMask] = false; 2647_flagState[s_queryBaseText] = true; 2670_flagState[s_queryBaseText] = false; 2705Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2724Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2762Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2794if (_flagState[s_imeEndingComposition]) 2797return _flagState[s_imeCompleting]; 2811Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2868Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2935if (_flagState[s_isNullMask]) 2952_flagState[s_imeEndingComposition] = true; 3004Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 3023Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");