Window.Top Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.