Class MoveWindowToMonitorIndexTransform
- Namespace
- Whim
- Assembly
- Whim.dll
Move the window with
WindowHandle
to the monitor at MonitorIndex
.public record MoveWindowToMonitorIndexTransform : Transform, IEquatable<Transform<Unit>>, IEquatable<Transform>, IEquatable<MoveWindowToMonitorIndexTransform>
- Inheritance
-
MoveWindowToMonitorIndexTransform
- Implements
- Inherited Members
Constructors
MoveWindowToMonitorIndexTransform(int, HWND)
Move the window with
WindowHandle
to the monitor at MonitorIndex
.public MoveWindowToMonitorIndexTransform(int MonitorIndex, HWND WindowHandle = default)
Parameters
MonitorIndex
int- The 0-based index of the monitor to move the window to.
WindowHandle
HWND- The handle of the window to move. If not provided, this will default to the focused/active window.
Properties
MonitorIndex
The 0-based index of the monitor to move the window to.
public int MonitorIndex { get; init; }
Property Value
WindowHandle
The handle of the window to move. If not provided, this will default to the focused/active window.
public HWND WindowHandle { get; init; }