Freigeben über


HtmlPopupWindowOptions.Width Property

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

Gets or sets the width of a pop-up window.

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

Syntax

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

Property Value

Type: System.Int32
Width of the pop-up window, in pixels.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The width 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.