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) 2631if (_errorState == ErrorState.None) 2674SetCommitError(ErrorState.None); 4252if (_errorState != ErrorState.None || (row != _selectedRow && !CommitEditTextBox())) 4452private void SetCommitError(ErrorState error) 4454SetCommitError(error, error == ErrorState.Thrown); 4457private void SetCommitError(ErrorState error, bool capture) 4460if (error != ErrorState.None) 4565if (_errorState == ErrorState.MessageBoxUp) 4572SetCommitError(ErrorState.None); 4600SetCommitError(ErrorState.None); 4668SetCommitError(ErrorState.Thrown); 4678SetCommitError(ErrorState.None); 4741SetCommitError(ErrorState.Thrown); 4746SetCommitError(ErrorState.None); 4896SetCommitError(ErrorState.MessageBoxUp, false); 4955SetCommitError(ErrorState.Thrown, hooked); 4968SetCommitError(ErrorState.MessageBoxUp, capture: false); 5028SetCommitError(ErrorState.Thrown, capture: hooked); 5309if (!InPropertySet && EditTextBox.Visible && (_errorState != ErrorState.None || !CommitEditTextBox()))