Window.Top Property

Definition

The distance in points from the top edge of the window to the top edge of the usable area (below the menus, any toolbars docked at the top, and the formula bar).

public:
 property double Top { double get(); void set(double value); };
public double Top { get; set; }
Public Property Top As Double

Property Value

Remarks

You cannot set this property for a maximized window. Use the WindowState property to return or set the state of the window.

Applies to