DataGridView.ShowCellErrors 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,指出是否要顯示儲存格錯誤。
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
。