Class MoveWindowToWorkspaceTransform
- Namespace
- Whim
- Assembly
- Whim.dll
Moves the window with
WindowHandle
to the given TargetWorkspaceId
.public record MoveWindowToWorkspaceTransform : Transform, IEquatable<Transform<Unit>>, IEquatable<Transform>, IEquatable<MoveWindowToWorkspaceTransform>
- Inheritance
-
MoveWindowToWorkspaceTransform
- Implements
- Inherited Members
Constructors
MoveWindowToWorkspaceTransform(Guid, HWND)
Moves the window with
WindowHandle
to the given TargetWorkspaceId
.public MoveWindowToWorkspaceTransform(Guid TargetWorkspaceId, HWND WindowHandle = default)
Parameters
TargetWorkspaceId
Guid- The id of the workspace to move the window to.
WindowHandle
HWND- The window to move. If null, this will default to the focused/active window.
Properties
TargetWorkspaceId
The id of the workspace to move the window to.
public Guid TargetWorkspaceId { get; init; }
Property Value
WindowHandle
The window to move. If null, this will default to
the focused/active window.
public HWND WindowHandle { get; init; }