Class SwapWindowInDirectionTransform
- Namespace
- Whim
- Assembly
- Whim.dll
Swap the
WindowHandle in the provided Direction for the workspace
with the given WorkspaceIdpublic record SwapWindowInDirectionTransform : BaseWorkspaceWindowTransform, IEquatable<Transform<bool>>, IEquatable<BaseWorkspaceTransform>, IEquatable<BaseWorkspaceWindowTransform>, IEquatable<SwapWindowInDirectionTransform>
- Inheritance
-
SwapWindowInDirectionTransform
- Implements
- Inherited Members
Constructors
SwapWindowInDirectionTransform(Guid, Direction, HWND)
Swap the
WindowHandle in the provided Direction for the workspace
with the given WorkspaceIdpublic SwapWindowInDirectionTransform(Guid WorkspaceId = default, Direction Direction = Direction.None, HWND WindowHandle = default)
Parameters
WorkspaceIdGuid- The id of the workspace to swap the window in. Defaults to the active workspace.
DirectionDirection- The direction to swap the window in. Defaults to None.
WindowHandleHWND- The handle of the window to swap. If not provided, the last focused window will be used. If provided, this window must exist in the workspace.
Properties
Direction
The direction to swap the window in. Defaults to None.
public Direction Direction { get; init; }