Table of Contents

Class WindowState

Namespace
Whim
Assembly
Whim.dll
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class WindowState : IWindowState
Inheritance
WindowState
Implements
Inherited Members

Properties

Rectangle

The dimensions of the bounding rectangle of the specified window.
public required IRectangle<int> Rectangle { get; set; }

Property Value

IRectangle<int>

Window

The window in question.
public required IWindow Window { get; init; }

Property Value

IWindow

WindowSize

The state of the window.
public required WindowSize WindowSize { get; set; }

Property Value

WindowSize

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)

Parameters

obj object
The object to compare with the current object.

Returns

bool
true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.
public override int GetHashCode()

Returns

int
A hash code for the current object.

Operators

operator ==(WindowState?, WindowState?)

public static bool operator ==(WindowState? left, WindowState? right)

Parameters

left WindowState
right WindowState

Returns

bool

operator !=(WindowState?, WindowState?)

public static bool operator !=(WindowState? left, WindowState? right)

Parameters

left WindowState
right WindowState

Returns

bool