DataGridView.ShowCellErrors Property

Definition

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

public:
 property bool ShowCellErrors { bool get(); void set(bool value); };
public bool ShowCellErrors { get; set; }
member this.ShowCellErrors : bool with get, set
Public Property ShowCellErrors As Boolean

Property Value

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

Applies to

See also