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); 2530if (EditTextBox.Focused || (_errorState == ErrorState.MessageBoxUp) || (_errorState == ErrorState.Thrown) || InPropertySet) 2646if (_errorState == ErrorState.None) 2689SetCommitError(ErrorState.None); 4267if (_errorState != ErrorState.None || (row != _selectedRow && !CommitEditTextBox())) 4461private void SetCommitError(ErrorState error) 4463SetCommitError(error, error == ErrorState.Thrown); 4466private void SetCommitError(ErrorState error, bool capture) 4469if (error != ErrorState.None) 4574if (_errorState == ErrorState.MessageBoxUp) 4581SetCommitError(ErrorState.None); 4609SetCommitError(ErrorState.None); 4677SetCommitError(ErrorState.Thrown); 4687SetCommitError(ErrorState.None); 4750SetCommitError(ErrorState.Thrown); 4755SetCommitError(ErrorState.None); 4905SetCommitError(ErrorState.MessageBoxUp, false); 4964SetCommitError(ErrorState.Thrown, hooked); 4977SetCommitError(ErrorState.MessageBoxUp, capture: false); 5037SetCommitError(ErrorState.Thrown, capture: hooked); 5315if (!InPropertySet && EditTextBox.Visible && (_errorState != ErrorState.None || !CommitEditTextBox()))