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; 275return _flagState[s_beepOnError]; 279_flagState[s_beepOnError] = value; 377if (_flagState[s_cutCopyIncludePrompt]) 379if (_flagState[s_cutCopyIncludeLiterals]) 387if (_flagState[s_cutCopyIncludeLiterals]) 402_flagState[s_cutCopyIncludePrompt] = true; 403_flagState[s_cutCopyIncludeLiterals] = false; 407_flagState[s_cutCopyIncludePrompt] = false; 408_flagState[s_cutCopyIncludeLiterals] = true; 413_flagState[s_cutCopyIncludePrompt] = include; 414_flagState[s_cutCopyIncludeLiterals] = include; 448return _flagState[s_hidePromptOnLeave]; 452if (_flagState[s_hidePromptOnLeave] != value) 454_flagState[s_hidePromptOnLeave] = value; 458if (!_flagState[s_isNullMask] && !Focused && !MaskFull && !DesignMode) 550if (_flagState[s_isNullMask]) 569return _flagState[s_insertToggled]; 602_flagState[s_queryBaseText] = true; 609_flagState[s_queryBaseText] = false; 633return _flagState[s_isNullMask] ? string.Empty : _maskedTextProvider.Mask; 643if (_flagState[s_isNullMask] == string.IsNullOrEmpty(value) && (_flagState[s_isNullMask] || value == _maskedTextProvider.Mask)) 661_flagState[s_isNullMask] = true; 694if (_flagState[s_isNullMask]) 766return _flagState[s_isNullMask] ? null : (MaskedTextProvider)_maskedTextProvider.Clone(); 859if (_flagState[s_isNullMask]) 940if (!_flagState[s_isNullMask]) 960return _flagState[s_rejectInputOnFirstFailure]; 964_flagState[s_rejectInputOnFirstFailure] = value; 1033if (_flagState[s_isNullMask]) 1048if (_flagState[s_isNullMask]) 1062_flagState[s_imeCompleting] = true; 1145if (_flagState[s_isNullMask] || _flagState[s_queryBaseText]) 1154if (_flagState[s_isNullMask]) 1200if (_flagState[s_isNullMask]) 1223Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1312string? oldText = _flagState[s_isNullMask] ? null : TextOutput; 1344if (_flagState[s_isNullMask]) 1390return _flagState[s_useSystemPasswordChar]; 1394if (value != _flagState[s_useSystemPasswordChar]) 1412_flagState[s_useSystemPasswordChar] = value; 1414if (_flagState[s_isNullMask]) 1484if (!_flagState[s_isNullMask] && RecreatingHandle) 1499Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1616_flagState[s_queryBaseText] = true; 1623_flagState[s_queryBaseText] = false; 1636_flagState[s_queryBaseText] = true; 1643_flagState[s_queryBaseText] = false; 1655if (_flagState[s_isNullMask]) 1694Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1731_flagState[s_queryBaseText] = true; 1738_flagState[s_queryBaseText] = false; 1752_flagState[s_queryBaseText] = true; 1759_flagState[s_queryBaseText] = false; 1772Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 1817if (_flagState[s_isNullMask] && _maskedTextProvider.IsPassword) 1842if (_flagState[s_isNullMask]) 1853_flagState[s_handleKeyPress] = false; 1860_flagState[s_insertToggled] = !_flagState[s_insertToggled]; 1888_flagState[s_handleKeyPress] = false; 1926if (!_flagState[s_handleKeyPress]) 1928_flagState[s_handleKeyPress] = true; 1954if (_flagState[s_isNullMask]) 1961if (!_flagState[s_handleKeyPress]) 1963_flagState[s_handleKeyPress] = true; 2025if (_flagState[s_imeCompleting]) 2027_flagState[s_imeCompleting] = false; 2030if (_flagState[s_imeEndingComposition]) 2032_flagState[s_imeEndingComposition] = false; 2058Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2140bool queryBaseText = _flagState[s_queryBaseText]; 2141_flagState[s_queryBaseText] = false; 2148_flagState[s_queryBaseText] = queryBaseText; 2158Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2277Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2308if (!_flagState[s_isNullMask] && !_maskedTextProvider.MaskCompleted) 2316if (!_flagState[s_isNullMask]) // replace prompt with space. 2381Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2445if (_flagState[s_isNullMask]) 2503if (_flagState[s_isNullMask] && textOnInitializingMask is null) 2579if (_flagState[s_isNullMask]) 2581_flagState[s_isNullMask] = false; 2638_flagState[s_queryBaseText] = true; 2661_flagState[s_queryBaseText] = false; 2696Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2715Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2753Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2785if (_flagState[s_imeEndingComposition]) 2788return _flagState[s_imeCompleting]; 2802Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2859Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 2926if (_flagState[s_isNullMask]) 2943_flagState[s_imeEndingComposition] = true; 2995Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided."); 3014Debug.Assert(!_flagState[s_isNullMask], "This method must be called when a Mask is provided.");