DataGridView.ShowCellErrors Property


Gets or sets a value indicating whether to show cell errors.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public bool ShowCellErrors { get; set; }

Property Value

Type: System.Boolean

true if a red glyph will appear in a cell that fails validation; otherwise, false. The default is true.

.NET Framework
Available since 2.0
Return to top