Gets or sets the position of the window's top edge, in relation to the desktop. This is a dependency property.
Namespace:System.Windows Assembly:PresentationFramework (in PresentationFramework.dll) XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
If you do not specify a value, Top is set to the system default value. You can also specify the system default value by setting Top to NaN. Neither NegativeInfinity nor PositiveInfinity is a valid value for Top.
You cannot set or get this property when a window is hosted in a browser.