Share via


HtmlPopupWindowOptions.Top Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the position of the top edge of a pop-up window.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

Syntax

'Declaration
Public Property Top As Integer
public int Top { get; set; }

Property Value

Type: System.Int32
Vertical distance from the top edge of the browser's document space to the top edge of the pop-up window.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The position is set to a value that is less than zero.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.