4 writes to ShowCellErrors
System.Windows.Forms.Tests (4)
System\Windows\Forms\DataGridViewButtonCellTests.cs (1)
136dataGridView.ShowCellErrors = false;
System\Windows\Forms\DataGridViewImageCellTests.cs (2)
179dataGridView.ShowCellErrors = false; 195dataGridView.ShowCellErrors = true;
System\Windows\Forms\DataGridViewLinkCellTests.cs (1)
311dataGridView.ShowCellErrors = false;
32 references to ShowCellErrors
System.Windows.Forms (32)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (4)
3837if (!ShowRowErrors && !ShowCellErrors) 3925if (value && !ShowCellErrors && !ShowCellToolTips) 3932if (!value && !ShowCellErrors && !ShowCellToolTips) 3940if (!value && (ShowCellErrors || ShowCellToolTips))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
14566if (CurrentCell is not null && (ShowCellToolTips || (ShowCellErrors && !string.IsNullOrEmpty(CurrentCell?.ErrorText)))) 15202if (CurrentCell is not null && (ShowCellToolTips || (ShowCellErrors && !string.IsNullOrEmpty(CurrentCell.ErrorText))))
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (4)
221!DataGridView.ShowCellErrors || 388if (DataGridView.ShowCellErrors) 398if (DataGridView.ShowCellErrors) 999if (DataGridView.ShowCellErrors && paint && PaintErrorIcon(paintParts))
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
351if (DataGridView is not null && DataGridView.ShowCellErrors && !string.IsNullOrEmpty(ErrorText))
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (3)
513!DataGridView.ShowCellErrors || 738if (DataGridView.ShowCellErrors) 1557if (paint && PaintErrorIcon(paintParts) && drawErrorText && DataGridView.ShowCellErrors)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (4)
838!DataGridView.ShowCellErrors || 1195if (DataGridView.ShowCellErrors) 1216if (DataGridView.ShowCellErrors) 2348if (DataGridView.ShowCellErrors && paint && PaintErrorIcon(paintParts))
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (4)
294!DataGridView.ShowCellErrors || 519if (DataGridView.ShowCellErrors) 529if (DataGridView.ShowCellErrors) 900if (paint && DataGridView.ShowCellErrors && PaintErrorIcon(paintParts))
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (4)
494!DataGridView.ShowCellErrors || 642if (DataGridView.ShowCellErrors) 657if (DataGridView.ShowCellErrors) 1079if (DataGridView.ShowCellErrors && paint && PaintErrorIcon(paintParts))
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (4)
330!DataGridView.ShowCellErrors || 484if (DataGridView.ShowCellErrors) 495if (DataGridView.ShowCellErrors) 772if (DataGridView.ShowCellErrors && paint && PaintErrorIcon(paintParts))
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (2)
159DataGridView.ShowCellErrors, 348if (DataGridView!.ShowCellErrors && paint && PaintErrorIcon(paintParts))