DataGridViewCell.ErrorIconBounds 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得儲存格之錯誤圖示的界限。
public:
property System::Drawing::Rectangle ErrorIconBounds { System::Drawing::Rectangle get(); };
[System.ComponentModel.Browsable(false)]
public System.Drawing.Rectangle ErrorIconBounds { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ErrorIconBounds : System.Drawing.Rectangle
Public ReadOnly Property ErrorIconBounds As Rectangle
屬性值
Rectangle,表示目前 DataGridViewCell 之錯誤圖示的界限。
- 屬性
例外狀況
備註
傳回的矩形會報告用戶端座標,以圖元為單位。
DataGridView.ShowCellErrors當 屬性為 false
時,這個屬性的值是 Empty 。
這個屬性會 GetErrorIconBounds 呼叫 方法來取得其值。 針對基底 DataGridViewCell 類型,這個值一律 Empty 為 。