ShowCellErrors Property
TOC
Collapse the table of content
Expand the table of content

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
Show:
© 2016 Microsoft