Table of Contents

Class MoveWindowToPointTransform

Namespace
Whim
Assembly
Whim.dll
Moves the window with WindowHandle to the given Point.
public record MoveWindowToPointTransform : Transform, IEquatable<Transform<Unit>>, IEquatable<Transform>, IEquatable<MoveWindowToPointTransform>
Inheritance
MoveWindowToPointTransform
Implements
Inherited Members

Constructors

MoveWindowToPointTransform(HWND, IPoint<int>)

Moves the window with WindowHandle to the given Point.
public MoveWindowToPointTransform(HWND WindowHandle, IPoint<int> Point)

Parameters

WindowHandle HWND
The handle of the window to move.
Point IPoint<int>
The point to move the window to. The point is in the coordinate space of the monitors, not the unit square.

Properties

Point

The point to move the window to. The point is in the coordinate space of the monitors, not the unit square.
public IPoint<int> Point { get; init; }

Property Value

IPoint<int>

WindowHandle

The handle of the window to move.
public HWND WindowHandle { get; init; }

Property Value

HWND