Table of Contents

Class WindowPosition

Namespace
Whim
Assembly
Whim.dll
A window's position at a point in time.
public record WindowPosition : IEquatable<WindowPosition>
Inheritance
WindowPosition
Implements
Derived
Inherited Members

Constructors

WindowPosition()

Creates a window's position. Defaults to Minimized and a IRectangle<T> with all zero values.
public WindowPosition()

WindowPosition(WindowSize, IRectangle<int>)

A window's position at a point in time.
public WindowPosition(WindowSize WindowSize, IRectangle<int> LastWindowRectangle)

Parameters

WindowSize WindowSize
Whether the window is minimized, maximized, or normal.
LastWindowRectangle IRectangle<int>
The last rectangle of the window's position and dimensions.

Properties

LastWindowRectangle

The last rectangle of the window's position and dimensions.
public IRectangle<int> LastWindowRectangle { get; init; }

Property Value

IRectangle<int>

WindowSize

Whether the window is minimized, maximized, or normal.
public WindowSize WindowSize { get; init; }

Property Value

WindowSize