共用方式為


DataGridViewCell.DataGridViewCellAccessibleObject.Bounds 屬性

定義

取得可存取物件的位置與大小。

public:
 virtual property System::Drawing::Rectangle Bounds { System::Drawing::Rectangle get(); };
public override System.Drawing.Rectangle Bounds { get; }
member this.Bounds : System.Drawing.Rectangle
Public Overrides ReadOnly Property Bounds As Rectangle

屬性值

Rectangle A 代表可達物件的界限。

例外狀況

該財產的 Owner 價值為 null

備註

Bounds 屬性會取得物件在螢幕座標中的邊界矩形。

適用於

另請參閱