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); 2171SetCommitError(ErrorState.None); 2286SetCommitError(ErrorState.None); 2298SetCommitError(ErrorState.None); 2402SetCommitError(ErrorState.None, EditTextBox.Focused); 2418case ErrorState.MessageBoxUp: 2420case ErrorState.Thrown: 2430SetCommitError(ErrorState.None, capture: true); 2553if (EditTextBox.Focused || (_errorState == ErrorState.MessageBoxUp) || (_errorState == ErrorState.Thrown) || InPropertySet) 2669if (_errorState == ErrorState.None) 2712SetCommitError(ErrorState.None); 4290if (_errorState != ErrorState.None || (row != _selectedRow && !CommitEditTextBox())) 4484private void SetCommitError(ErrorState error) 4486SetCommitError(error, error == ErrorState.Thrown); 4489private void SetCommitError(ErrorState error, bool capture) 4492if (error != ErrorState.None) 4597if (_errorState == ErrorState.MessageBoxUp) 4604SetCommitError(ErrorState.None); 4632SetCommitError(ErrorState.None); 4700SetCommitError(ErrorState.Thrown); 4710SetCommitError(ErrorState.None); 4773SetCommitError(ErrorState.Thrown); 4778SetCommitError(ErrorState.None); 4928SetCommitError(ErrorState.MessageBoxUp, false); 4987SetCommitError(ErrorState.Thrown, hooked); 5000SetCommitError(ErrorState.MessageBoxUp, capture: false); 5060SetCommitError(ErrorState.Thrown, capture: hooked); 5338if (!InPropertySet && EditTextBox.Visible && (_errorState != ErrorState.None || !CommitEditTextBox()))