Table of Contents

Class MoveWindowToAdjacentMonitorTransform

Namespace
Whim
Assembly
Whim.dll
Moves the window with WindowHandle to the next (or previous) monitor.
public record MoveWindowToAdjacentMonitorTransform : Transform, IEquatable<Transform<Unit>>, IEquatable<Transform>, IEquatable<MoveWindowToAdjacentMonitorTransform>
Inheritance
MoveWindowToAdjacentMonitorTransform
Implements
Inherited Members

Constructors

MoveWindowToAdjacentMonitorTransform(HWND, bool)

Moves the window with WindowHandle to the next (or previous) monitor.
public MoveWindowToAdjacentMonitorTransform(HWND WindowHandle = default, bool Reverse = false)

Parameters

WindowHandle HWND
The handle of the window to move. If not provided, this will default to the focused/active window.
Reverse bool
When true, moves to the previous monitor, otherwise moves to the next monitor. Defaults to false.

Properties

Reverse

When true, moves to the previous monitor, otherwise moves to the next monitor. Defaults to false.
public bool Reverse { get; init; }

Property Value

bool

WindowHandle

The handle of the window to move. If not provided, this will default to the focused/active window.
public HWND WindowHandle { get; init; }

Property Value

HWND