WindowOptions Class |
Namespace: Openfin.Desktop
public class WindowOptions : OptionsEx
The WindowOptions type exposes the following members.
Name | Description | |
---|---|---|
WindowOptions(String) |
Constructs an instance with a new underliying JObject.
| |
WindowOptions(String, String) |
Constructs an instance with a new underliying JObject.
|
Name | Description | |
---|---|---|
AcceleratorKeys |
Gets or sets the options for accelerator keys on the current window
| |
AlwaysOnTop |
The AlwaysOnTop property represents a flag to always position
the window at the top of the window stack.
Default: false | |
AutoShow |
The AutoShow property represents a flag to automatically
show the Window when it is created.
Default: false | |
BackgroundColor |
Gets or sets the backfill color of the current window. The default is black.
| |
ContentNavigationRules |
Navigation rules used by this window.
Default: No application rules, Window will be allowed to navigate to any URL. | |
ContextMenu |
The ContextMenu property represents a flag to show the
context menu when right-clicking on a window.
Gives access to the Developer Console for the Window. Default: false | |
CornerRoundingHeight |
The CornerRoundingHeight property represents the rounded
corners height to apply.
Default: 0 | |
CornerRoundingWidth |
The CornerRoundingWidth property represents the rounded
corners width to apply.
Default: 0 | |
CustomData |
Gets or sets custom data for the given Window instance.
| |
CustomRequestHeaders |
Defines list of custom request headers for requests sent by the window.
| |
DefaultCentered |
The DefaultCentered property specifies that the window will be positioned in the
center of the primary monitor when loaded for the first time on a machine.
Default: false | |
DefaultHeight |
The DefaultHeight property represents the window's
default height in pixels.
Default: 500 | |
DefaultLeft |
The DefaultLeft property represents the window's
default left position.
Default: 100 | |
DefaultTop |
The DefaultTop property represents the window's
default top position.
Default: 100 | |
DefaultWidth |
The DefaultWidth property represents the window's
default width in pixels.
Default: 800 | |
Frame |
The Frame property represents a flag to show the frame.
Default: true | |
HideOnClose | Obsolete.
(Obsolete) The HideOnClose property represents a flag to allow a window
to be hidden when the close button is clicked.
Default: false | |
IconPath |
Absolute path, relative path, or URL of the icon file to be shown in the window title bar and taskbar.
When ommitted, inherits from the parent application.
| |
IconUrl |
Absolute URL of the icon file to be shown on the windoe title bar and taskbar, as defined in IconPath
| |
MaxHeight |
The MaxHeight property represents the maximum height of a window.
Will default to the OS defined value if set to -1. Default: -1 | |
Maximizable |
The Maximizable property represents a flag that lets the window be maximized.
Default: true | |
MaxWidth |
The MaxWidth property represents the maximum width of a window.
Will default to the OS defined value if set to -1. Default: -1 | |
MinHeight |
The MinHeight property represents the minimum height of a window.
Default: 0 | |
Minimizable |
The Minimizable property represents a flag that lets the window be minimized.
Default: true | |
MinWidth |
The MinWidth property represents the minimum width of a window.
Default: 0 | |
Name |
The Name property represents the name for the window which
must be unique within the context of the invoking Application.
Default: An empty string | |
Opacity |
The Opacity property represents a flag that specifies
how transparent the window will be.
Default: 1.0 | |
PreloadScript | Obsolete.
(Deprecated) The preload Javascript file to load automatically after each page navigation.
| |
PreloadScripts |
Gets or sets the collection of preload scripts to load automatically after each page navigation.
| |
Resizable |
The Resizable property represents a flag which allows
the user to resize the window.
This property will be deprecated in a future release. Default: true | |
ResizeRegionBottomRightCorner |
The ResizeRegionBottomRightCorner property defines an additional square
region located at the bottom right corner of a frameless window.
Default: 4 | |
ResizeRegionSize |
The ResizeRegionSize property defines a region
in pixels that will respond to user mouse interaction for resizing a frameless window
Default: 2 | |
SaveWindowState |
The SaveWindowState property defines whether or not a window
should maintain a persistent cache of its position/size.
Default: true | |
Shadow |
Gets or sets a value indicating whether to show a shadow on a frameless Window.
| |
ShowTaskbarIcon |
The ShowTaskbarIcon property represents a flag to show
the Window's icon in the taskbar.
Default: false | |
SmallWindow |
Determines if window can be smaller than 41x46 px.
| |
State |
The State property represents a string that sets the
window to be "minimized", "maximized", or "normal" on creation.
Default: "normal" | |
TaskbarIcon | Obsolete.
(Obsolete) The TaskbarIcon property represents the URL of
an icon to be shown on the desktop.
Support formats: Portable Network Graphic (PNG); Size: 256 x 256 Default: An empty string | |
TaskbarIconGroup |
Gets or sets the taskbar group for the window.
| |
URL |
The URL property represents the URL of the window.
Default: "about:blank" | |
WaitForPageLoadToRender |
Determines if OpenFin will wait for DomContent Loaded to display the window.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
getJsonCopy |
Gets all settings in JObject format.
(Inherited from OptionsEx.) | |
GetProperty |
Gets the value of specified property by it's name or JSON name. This methond is intended
to get experimental, undocumented or unsupported properties. However, using this method
with existing public property name or JSON name will also get the value of that property.
(Inherited from OptionsEx.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetProperty |
Sets the value of specified property by it's name or JSON name. This methond is intended
to set experimental, undocumented or unsupported properties. However, using this method
with existing public property name or JSON name will also set the value of that property.
(Inherited from OptionsEx.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |