System.Windows.Forms.Control.Top Property

Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)]
public int Top { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Control.Top property value is equivalent to the System.Drawing.Point.Y property of the Control.Location property value of the control.

Changes made to the Control.Height and Control.Top property values cause the Control.Bottom property value of the control to change.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0