Class SwapWindowInDirectionTransform
- Namespace
- Whim
- Assembly
- Whim.dll
Swap the
WindowHandle
in the provided Direction
for the workspace
with the given WorkspaceId
public 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 WorkspaceId
public SwapWindowInDirectionTransform(Guid WorkspaceId = default, Direction Direction = Direction.None, HWND WindowHandle = default)
Parameters
WorkspaceId
Guid- The id of the workspace to swap the window in. Defaults to the active workspace.
Direction
Direction- The direction to swap the window in. Defaults to None.
WindowHandle
HWND- 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; }