Table of Contents

Class MonitorWorkspaceChangedEventArgs

Namespace
Whim
Assembly
Whim.dll
Event arguments for when the workspace shown on a monitor changes.
public class MonitorWorkspaceChangedEventArgs : EventArgs
Inheritance
MonitorWorkspaceChangedEventArgs
Inherited Members

Properties

CurrentWorkspace

The new workspace shown on the monitor.
public required IWorkspace CurrentWorkspace { get; init; }

Property Value

IWorkspace

Monitor

The monitor that has a workspace added or removed.
public required IMonitor Monitor { get; init; }

Property Value

IMonitor

PreviousWorkspace

The previously shown workspace.
public IWorkspace? PreviousWorkspace { get; init; }

Property Value

IWorkspace

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.