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.

Exception Condition
InvalidOperationException

The value of the Owner property is null.

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

.NET Framework
Available since 2.0
Return to top
Show: