Table of Contents

Class ActivateWorkspaceTransform

Namespace
Whim
Assembly
Whim.dll
Activates the given workspace in the active monitor, or the given monitor (if provided).
public record ActivateWorkspaceTransform : Transform, IEquatable<Transform<Unit>>, IEquatable<Transform>, IEquatable<ActivateWorkspaceTransform>
Inheritance
ActivateWorkspaceTransform
Implements
Inherited Members

Constructors

ActivateWorkspaceTransform(Guid, HMONITOR, bool)

Activates the given workspace in the active monitor, or the given monitor (if provided).
public ActivateWorkspaceTransform(Guid WorkspaceId, HMONITOR MonitorHandle = default, bool FocusWorkspaceWindow = true)

Parameters

WorkspaceId Guid
The id of the workspace to activate.
MonitorHandle HMONITOR
The handle of the monitor to activate the workspace in. If null, this will default to the active monitor.
FocusWorkspaceWindow bool
If true, the last focused window of the WorkspaceId will be focused. If false, the last focused window of the active workspace will be focused.

Properties

FocusWorkspaceWindow

If true, the last focused window of the WorkspaceId will be focused. If false, the last focused window of the active workspace will be focused.
public bool FocusWorkspaceWindow { get; init; }

Property Value

bool

MonitorHandle

The handle of the monitor to activate the workspace in. If null, this will default to the active monitor.
public HMONITOR MonitorHandle { get; init; }

Property Value

HMONITOR

WorkspaceId

The id of the workspace to activate.
public Guid WorkspaceId { get; init; }

Property Value

Guid