Freigeben über


HtmlPage.IsPopupWindowAllowed Property

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

Indicates whether pop-up windows are allowed.

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

Syntax

'Declaration
Public Shared ReadOnly Property IsPopupWindowAllowed As Boolean
public static bool IsPopupWindowAllowed { get; }

Property Value

Type: System.Boolean
true if pop-up windows are allowed; otherwise, false.

Remarks

Use this property to determine whether the browser's pop-up blockers will prevent a pop-up window from appearing. For more information, see PopupWindow.

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.