Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Bounds Property

DataGridViewCell.DataGridViewCellAccessibleObject.Bounds Property

Gets the location and size of the accessible object.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override Rectangle Bounds { get; }

Property Value

Type: System.Drawing.Rectangle
A Rectangle that represents the bounds of the accessible object.

ExceptionCondition
InvalidOperationException

The value of the Owner property is null.

The Bounds property retrieves the object's bounding rectangle in screen coordinates.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft