33 references to ErrorState
System.Windows.Forms (33)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (33)
89private ErrorState _errorState = ErrorState.None; 1053SetCommitError(ErrorState.None, capture: true); 1204if (_errorState != ErrorState.None && EditTextBox.Visible) 1256SetCommitError(ErrorState.Thrown); 2148SetCommitError(ErrorState.None); 2263SetCommitError(ErrorState.None); 2275SetCommitError(ErrorState.None); 2379SetCommitError(ErrorState.None, EditTextBox.Focused); 2395case ErrorState.MessageBoxUp: 2397case ErrorState.Thrown: 2407SetCommitError(ErrorState.None, capture: true); 2529if (EditTextBox.Focused || (_errorState == ErrorState.MessageBoxUp) || (_errorState == ErrorState.Thrown) || InPropertySet) 2630if (_errorState == ErrorState.None) 2673SetCommitError(ErrorState.None); 4251if (_errorState != ErrorState.None || (row != _selectedRow && !CommitEditTextBox())) 4451private void SetCommitError(ErrorState error) 4453SetCommitError(error, error == ErrorState.Thrown); 4456private void SetCommitError(ErrorState error, bool capture) 4459if (error != ErrorState.None) 4564if (_errorState == ErrorState.MessageBoxUp) 4571SetCommitError(ErrorState.None); 4599SetCommitError(ErrorState.None); 4667SetCommitError(ErrorState.Thrown); 4677SetCommitError(ErrorState.None); 4740SetCommitError(ErrorState.Thrown); 4745SetCommitError(ErrorState.None); 4895SetCommitError(ErrorState.MessageBoxUp, false); 4954SetCommitError(ErrorState.Thrown, hooked); 4967SetCommitError(ErrorState.MessageBoxUp, capture: false); 5027SetCommitError(ErrorState.Thrown, capture: hooked); 5308if (!InPropertySet && EditTextBox.Visible && (_errorState != ErrorState.None || !CommitEditTextBox()))