Table of Contents

Class MonitorsChangedEventArgs

Namespace
Whim
Assembly
Whim.dll
Represents the change in monitors of Windows and Whim. This may include monitors were added or removed, or monitors that were unchanged but had some properties changed, like their position, resolution, work area, or scaling factor.
public class MonitorsChangedEventArgs : EventArgs
Inheritance
MonitorsChangedEventArgs
Inherited Members

Properties

AddedMonitors

The monitors that were added.
public required IEnumerable<IMonitor> AddedMonitors { get; init; }

Property Value

IEnumerable<IMonitor>

CurrentMonitors

The new monitors. This is derived from UnchangedMonitors and AddedMonitors.
public IEnumerable<IMonitor> CurrentMonitors { get; }

Property Value

IEnumerable<IMonitor>

PreviousMonitors

The previous monitors. This is derived from UnchangedMonitors and RemovedMonitors.
public IEnumerable<IMonitor> PreviousMonitors { get; }

Property Value

IEnumerable<IMonitor>

RemovedMonitors

The monitors that were removed.
public required IEnumerable<IMonitor> RemovedMonitors { get; init; }

Property Value

IEnumerable<IMonitor>

UnchangedMonitors

The monitors that were not removed or added. These monitors may have had some properties changed, like their position, resolution, work area, or scaling factor.
public required IEnumerable<IMonitor> UnchangedMonitors { get; init; }

Property Value

IEnumerable<IMonitor>

Methods

ToString()

Returns a string that represents the current object.
public override string ToString()

Returns

string
A string that represents the current object.