Joins the same window group as the specified window.
Namespace:
Openfin.Desktop
Assembly:
OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.4.0
Syntax public void joinGroup(
Window target,
AckCallback callback = null,
AckCallback errorCallback = null
)
Parameters
- target
- Type: Openfin.DesktopWindow
The window whose group is to be joined. - 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, it will leave that group to join the
new one. Windows must be owned by the same application in order
to be joined.
See Also