System.Windows.Forms.AccessibleObject.Bounds Property

Gets the location and size of the accessible object.

Syntax

public virtual System.Drawing.Rectangle Bounds { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The AccessibleObject.Bounds property retrieves the object's bounding rectangle in screen coordinates. If the object has a nonrectangular shape, then this property represents the smallest rectangle that completely encompasses the entire object region. Therefore, for nonrectangular objects such as list view items, the coordinates of the object's bounding rectangle can fail, if tested, by calling the AccessibleObject.HitTest(int, int) method, because AccessibleObject.HitTest(int, int) determines the object's boundaries on a pixel-by-pixel basis.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0