Class HtmlPopupWindowOptions
Provides options to control pop-up windows.
Inheritance
Inherited Members
Namespace: System.Windows.Browser
Assembly: OpenSilver.Browser.dll
Syntax
[NotImplemented]
public sealed class HtmlPopupWindowOptions
Constructors
| Improve this Doc View SourceHtmlPopupWindowOptions()
Creates a new instance of the HtmlPopupWindowOptions class.
Declaration
public HtmlPopupWindowOptions()
Properties
| Improve this Doc View SourceDirectories
Gets or sets a value that determines whether the Internet Explorer links toolbar or Firefox personal/bookmarks toolbar is shown in the pop-up window.
Declaration
public bool Directories { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if Internet Explorer links toolbar or Firefox personal/bookmarks toolbar is shown in the pop-up window; otherwise, false. |
Height
Gets or sets the height of a pop-up window.
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Height of the pop-up window, in pixels. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | The height is set to a value that is less than zero. |
Left
Gets or sets the position of the left edge of a pop-up window.
Declaration
public int Left { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Horizontal distance from the left edge of the browser's document space to the left edge of the pop-up window. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | The position is set to a value that is less than zero. |
Location
Gets or sets the URL of a pop-up window.
Declaration
public bool Location { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The URL of the pop-up window. |
Menubar
Gets or sets a value that indicates whether the menu bar is visible in a pop-up window.
Declaration
public bool Menubar { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the menu bar is visible in the pop-up window; otherwise, false. |
Resizeable
Gets or sets a value that indicates whether a pop-up window can be resized.
Declaration
public bool Resizeable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the pop-up window can be resized; otherwise, false. |
Scrollbars
Gets or sets a value that indicates whether scroll bars are visible in a pop-up window.
Declaration
public bool Scrollbars { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if scroll bars may appear in the pop-up window; otherwise, false. |
Status
Gets or sets a value that indicates whether the status bar is visible in a pop-up window.
Declaration
public bool Status { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the status bar is visible in the pop-up window; otherwise, false. |
Toolbar
Gets or sets a value that indicates whether the toolbar is visible in a pop-up window.
Declaration
public bool Toolbar { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the toolbar is visible in the pop-up window; otherwise, false. |
Top
Gets or sets the position of the top edge of a pop-up window.
Declaration
public int Top { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Vertical distance from the top edge of the browser's document space to the top edge of the pop-up window. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | The position is set to a value that is less than zero. |
Width
Gets or sets the width of a pop-up window.
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Width of the pop-up window, in pixels. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | The width is set to a value that is less than zero. |