'Declaration Public Overloads Function GetBounds( _ ByVal ancestor As Element _ ) As System.Drawing.Rectangle
public System.Drawing.Rectangle GetBounds( Element ancestor )
Parameters
- ancestor
- Ancestor element (parent, grand-parent, etc).
Return Value
A System.Drawing.Rectangle that corresponds to the element's position within the given ancestor.