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为 。