Click or drag to resize

WindowmergeGroups Method

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

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 14.1.0-alpha3
Syntax
C#
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