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

屬性值

Boolean

如果驗證失敗的儲存格中將出現紅色圖像,則為true ;否則為 false。 預設為 true

適用於

另請參閱