Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property Bounds As System.Drawing.Rectangle |
| C# | |
|---|
public System.Drawing.Rectangle Bounds {get; set;} |
Property Value
A
System.Drawing.Rectangle in pixels relative to the parent control that represents the size and location of the control including its nonclient elements.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also