Show / Hide Table of Contents

Class HtmlPopupWindowOptions

Provides options to control pop-up windows.

Inheritance
System.Object
HtmlPopupWindowOptions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Browser
Assembly: OpenSilver.Browser.dll
Syntax
[NotImplemented]
public sealed class HtmlPopupWindowOptions

Constructors

| Improve this Doc View Source

HtmlPopupWindowOptions()

Creates a new instance of the HtmlPopupWindowOptions class.

Declaration
public HtmlPopupWindowOptions()

Properties

| Improve this Doc View Source

Directories

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source