Click or drag to resize

WindowmoveTo Method

Moves the window to a specified location.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.6.1
Syntax
C#
public void moveTo(
	int left,
	int top,
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

left
Type: SystemInt32
The left position of the window.
top
Type: SystemInt32
The top position of the window.
callback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method succeeds.
errorCallback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails. The reason for failure is passed as an argument.
See Also