Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
Syntax
Visual Basic (Declaration) | |
---|
<LocalizableAttribute(True)>
<SRDescriptionAttribute("The coordinates of the upper-left corner of the control relative to the upper-left corner of its container.")>
<SRCategoryAttribute("Layout")>
Public Property Location As Point |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Medical3DControl
Dim value As Point
instance.Location = value
value = instance.Location |
C# | |
---|
[LocalizableAttribute(true)]
[SRDescriptionAttribute("The coordinates of the upper-left corner of the control relative to the upper-left corner of its container.")]
[SRCategoryAttribute("Layout")]
public Point Location {get; set;} |
C++/CLI | |
---|
[LocalizableAttribute(true)]
[SRDescriptionAttribute("The coordinates of the upper-left corner of the control relative to the upper-left corner of its container.")]
[SRCategoryAttribute("Layout")]
public:
property Point Location {
Point get();
void set ( Point value);
} |
Property Value
The
System.Drawing.Point that represents the upper-left corner of the control relative to the upper-left corner of its container.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also