Click or drag to resize

WindowmergeGroups Method

Note: This API is now obsolete.

Merges the instance's window group with the same window group as the specified window.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.5.1
Syntax
C#
[ObsoleteAttribute("This API has been deprecated.")]
public void mergeGroups(
	Window target,
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

target
Type: Openfin.DesktopWindow
The window whose group is to be merged.
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.
Remarks
When windows are joined, if the user moves one of the windows, all other windows in the same group move too. This function is to be used when docking to other windows. If the window is already within a group, The two groups are joined to create a new one. Windows must be owned by the same application in order to be joined.
See Also