.NET Framework 4.6 and 4.5
Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
member Top : int with get, set
System .Int32 An representing the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. Int32
property value is equivalent to the Top property of the Point .Y property value of the control. Location
Changes made to the
and Height property values cause the Top property value of the control to change. Bottom
The following code example creates three
controls on a form and sets their size and location by using the various size-related and location-related properties. This example requires that you have a Button that has a width and height of at least 300 pixels. Form
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client Profile
Supported in: 4, 3.5 SP1