| Visual Basic (Declaration) | |
|---|---|
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <SRDescriptionAttribute("The bounds of the control, in container coordinates.")> <SRCategoryAttribute("Layout")> <BrowsableAttribute(False)> Public Property Bounds As Rectangle | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Medical3DControl Dim value As Rectangle instance.Bounds = value value = instance.Bounds | |
| C# | |
|---|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [SRDescriptionAttribute("The bounds of the control, in container coordinates.")] [SRCategoryAttribute("Layout")] [BrowsableAttribute(false)] public Rectangle Bounds {get; set;} | |
| C++/CLI | |
|---|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [SRDescriptionAttribute("The bounds of the control, in container coordinates.")] [SRCategoryAttribute("Layout")] [BrowsableAttribute(false)] public: property Rectangle Bounds { Rectangle get(); void set ( Rectangle value); } | |
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.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code