語言

DataGridView.ShowCellErrors 屬性

定義

取得或設定值,指出是否要顯示儲存格錯誤。

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

屬性值

true如果驗證失敗的儲存格會出現紅色字形;否則,。 false 預設值為 true。

適用於

另請參閱