108 references to _flagState
System.Windows.Forms (108)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (108)
112_flagState[s_isNullMask] = true; 124_flagState[s_isNullMask] = false; 135_flagState[s_isNullMask] = false; 151if (!_flagState[s_isNullMask]) 160_flagState[s_hidePromptOnLeave] = false; 161_flagState[s_beepOnError] = false; 162_flagState[s_useSystemPasswordChar] = false; 163_flagState[s_rejectInputOnFirstFailure] = false; 167_flagState[s_cutCopyIncludePrompt] = _maskedTextProvider.IncludePrompt; 168_flagState[s_cutCopyIncludeLiterals] = _maskedTextProvider.IncludeLiterals; 171_flagState[s_handleKeyPress] = true; 277return _flagState[s_beepOnError]; 281_flagState[s_beepOnError] = value; 379if (_flagState[s_cutCopyIncludePrompt]) 381if (_flagState[s_cutCopyIncludeLiterals]) 389if (_flagState[s_cutCopyIncludeLiterals]) 404_flagState[s_cutCopyIncludePrompt] = true; 405_flagState[s_cutCopyIncludeLiterals] = false; 409_flagState[s_cutCopyIncludePrompt] = false; 410_flagState[s_cutCopyIncludeLiterals] = true; 415_flagState[s_cutCopyIncludePrompt] = include; 416_flagState[s_cutCopyIncludeLiterals] = include; 450return _flagState[s_hidePromptOnLeave]; 454if (_flagState[s_hidePromptOnLeave] != value) 456_flagState[s_hidePromptOnLeave] = value; 460if (!_flagState[s_isNullMask] && !Focused && !MaskFull && !DesignMode) 552if (_flagState[s_isNullMask]) 571return _flagState[s_insertToggled]; 604_flagState[s_queryBaseText] = true; 611_flagState[s_queryBaseText] = false; 635return _flagState[s_isNullMask] ? string.Empty : _maskedTextProvider.Mask; 645if (_flagState[s_isNullMask] == string.IsNullOrEmpty(value) && (_flagState[s_isNullMask] || value == _maskedTextProvider.Mask)) 663_flagState[s_isNullMask] = true; 696if (_flagState[s_isNullMask]) 768return _flagState[s_isNullMask] ? null : (MaskedTextProvider)_maskedTextProvider.Clone(); 861if (_flagState[s_isNullMask]) 942if (!_flagState[s_isNullMask]) 962return _flagState[s_rejectInputOnFirstFailure]; 966_flagState[s_rejectInputOnFirstFailure] = value; 1035if (_flagState[s_isNullMask]) 1050if (_flagState[s_isNullMask]) 1064_flagState[s_imeCompleting] = true; 1147if (_flagState[s_isNullMask] || _flagState[s_queryBaseText]) 1156if (_flagState[s_isNullMask]) 1202if (_flagState[s_isNullMask]) 1225Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1314string? oldText = _flagState[s_isNullMask] ? null : TextOutput; 1346if (_flagState[s_isNullMask]) 1392return _flagState[s_useSystemPasswordChar]; 1396if (value != _flagState[s_useSystemPasswordChar]) 1414_flagState[s_useSystemPasswordChar] = value; 1416if (_flagState[s_isNullMask]) 1488if (!_flagState[s_isNullMask] && RecreatingHandle) 1503Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1620_flagState[s_queryBaseText] = true; 1627_flagState[s_queryBaseText] = false; 1640_flagState[s_queryBaseText] = true; 1647_flagState[s_queryBaseText] = false; 1659if (_flagState[s_isNullMask]) 1698Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1735_flagState[s_queryBaseText] = true; 1742_flagState[s_queryBaseText] = false; 1756_flagState[s_queryBaseText] = true; 1763_flagState[s_queryBaseText] = false; 1776Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1821if (_flagState[s_isNullMask] && _maskedTextProvider.IsPassword) 1846if (_flagState[s_isNullMask]) 1857_flagState[s_handleKeyPress] = false; 1864_flagState[s_insertToggled] = !_flagState[s_insertToggled]; 1892_flagState[s_handleKeyPress] = false; 1930if (!_flagState[s_handleKeyPress]) 1932_flagState[s_handleKeyPress] = true; 1958if (_flagState[s_isNullMask]) 1965if (!_flagState[s_handleKeyPress]) 1967_flagState[s_handleKeyPress] = true; 2029if (_flagState[s_imeCompleting]) 2031_flagState[s_imeCompleting] = false; 2034if (_flagState[s_imeEndingComposition]) 2036_flagState[s_imeEndingComposition] = false; 2062Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2144bool queryBaseText = _flagState[s_queryBaseText]; 2145_flagState[s_queryBaseText] = false; 2152_flagState[s_queryBaseText] = queryBaseText; 2162Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2281Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2312if (!_flagState[s_isNullMask] && !_maskedTextProvider.MaskCompleted) 2320if (!_flagState[s_isNullMask]) // replace prompt with space. 2388Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2452if (_flagState[s_isNullMask]) 2510if (_flagState[s_isNullMask] && textOnInitializingMask is null) 2586if (_flagState[s_isNullMask]) 2588_flagState[s_isNullMask] = false; 2645_flagState[s_queryBaseText] = true; 2668_flagState[s_queryBaseText] = false; 2703Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2722Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2760Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2792if (_flagState[s_imeEndingComposition]) 2795return _flagState[s_imeCompleting]; 2809Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2866Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2933if (_flagState[s_isNullMask]) 2950_flagState[s_imeEndingComposition] = true; 3002Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 3021Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");