33 references to ErrorState
System.Windows.Forms (33)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (33)
90private ErrorState _errorState = ErrorState.None; 1076SetCommitError(ErrorState.None, capture: true); 1227if (_errorState != ErrorState.None && EditTextBox.Visible) 1279SetCommitError(ErrorState.Thrown); 2177SetCommitError(ErrorState.None); 2292SetCommitError(ErrorState.None); 2304SetCommitError(ErrorState.None); 2408SetCommitError(ErrorState.None, EditTextBox.Focused); 2424case ErrorState.MessageBoxUp: 2426case ErrorState.Thrown: 2436SetCommitError(ErrorState.None, capture: true); 2559if (EditTextBox.Focused || (_errorState == ErrorState.MessageBoxUp) || (_errorState == ErrorState.Thrown) || InPropertySet) 2675if (_errorState == ErrorState.None) 2718SetCommitError(ErrorState.None); 4302if (_errorState != ErrorState.None || (row != _selectedRow && !CommitEditTextBox())) 4496private void SetCommitError(ErrorState error) 4498SetCommitError(error, error == ErrorState.Thrown); 4501private void SetCommitError(ErrorState error, bool capture) 4504if (error != ErrorState.None) 4609if (_errorState == ErrorState.MessageBoxUp) 4616SetCommitError(ErrorState.None); 4644SetCommitError(ErrorState.None); 4712SetCommitError(ErrorState.Thrown); 4722SetCommitError(ErrorState.None); 4785SetCommitError(ErrorState.Thrown); 4790SetCommitError(ErrorState.None); 4940SetCommitError(ErrorState.MessageBoxUp, false); 4999SetCommitError(ErrorState.Thrown, hooked); 5012SetCommitError(ErrorState.MessageBoxUp, capture: false); 5072SetCommitError(ErrorState.Thrown, capture: hooked); 5350if (!InPropertySet && EditTextBox.Visible && (_errorState != ErrorState.None || !CommitEditTextBox()))