33 references to ErrorState
System.Windows.Forms (33)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (33)
90private ErrorState _errorState = ErrorState.None; 1077SetCommitError(ErrorState.None, capture: true); 1228if (_errorState != ErrorState.None && EditTextBox.Visible) 1280SetCommitError(ErrorState.Thrown); 2172SetCommitError(ErrorState.None); 2287SetCommitError(ErrorState.None); 2299SetCommitError(ErrorState.None); 2403SetCommitError(ErrorState.None, EditTextBox.Focused); 2419case ErrorState.MessageBoxUp: 2421case ErrorState.Thrown: 2431SetCommitError(ErrorState.None, capture: true); 2554if (EditTextBox.Focused || (_errorState == ErrorState.MessageBoxUp) || (_errorState == ErrorState.Thrown) || InPropertySet) 2670if (_errorState == ErrorState.None) 2713SetCommitError(ErrorState.None); 4291if (_errorState != ErrorState.None || (row != _selectedRow && !CommitEditTextBox())) 4485private void SetCommitError(ErrorState error) 4487SetCommitError(error, error == ErrorState.Thrown); 4490private void SetCommitError(ErrorState error, bool capture) 4493if (error != ErrorState.None) 4598if (_errorState == ErrorState.MessageBoxUp) 4605SetCommitError(ErrorState.None); 4633SetCommitError(ErrorState.None); 4701SetCommitError(ErrorState.Thrown); 4711SetCommitError(ErrorState.None); 4774SetCommitError(ErrorState.Thrown); 4779SetCommitError(ErrorState.None); 4929SetCommitError(ErrorState.MessageBoxUp, false); 4988SetCommitError(ErrorState.Thrown, hooked); 5001SetCommitError(ErrorState.MessageBoxUp, capture: false); 5061SetCommitError(ErrorState.Thrown, capture: hooked); 5339if (!InPropertySet && EditTextBox.Visible && (_errorState != ErrorState.None || !CommitEditTextBox()))