Top Property

For controls, the Top property determines where the top of a control is on the form, measured in pixels. Together with the Bottom, Left, and Right properties, it determines the size of your control and where it is on the form.

You can also set this property using a cascading style sheet. For more information, see Using Cascading Style Sheets.

Applies to: All controls.

Setting dynamically:

Winform Set control.TOP TO n;