Click or drag to resize

PlatformWindowOptionsDefaultCentered Property

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

Namespace:  Openfin.Desktop.PlatformAPI
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.4.0
Syntax
C#
public bool DefaultCentered { get; set; }

Property Value

Type: Boolean
The DefaultCentered property gets/sets the value of the underlying JObject field, "defaultCentered".
Remarks
When the window corresponding to that id is loaded again, the position from before the window was closed is used.
See Also