Class BaseWorkspaceWindowTransform
- Namespace
- Whim
- Assembly
- Whim.dll
Base transform for a window operation in a given workspace, where the window exists in the
workspace.
public abstract record BaseWorkspaceWindowTransform : BaseWorkspaceTransform, IEquatable<Transform<bool>>, IEquatable<BaseWorkspaceTransform>, IEquatable<BaseWorkspaceWindowTransform>
- Inheritance
-
BaseWorkspaceWindowTransform
- Implements
- Derived
- Inherited Members
Constructors
BaseWorkspaceWindowTransform(Guid, HWND, bool, bool, bool)
Base transform for a window operation in a given workspace, where the window exists in the
workspace.
protected BaseWorkspaceWindowTransform(Guid WorkspaceId, HWND WindowHandle, bool DefaultToLastFocusedWindow, bool IsWindowRequiredInWorkspace, bool SkipDoLayout)
Parameters
WorkspaceId
GuidWindowHandle
HWND- The handle of the window to operate on.
DefaultToLastFocusedWindow
bool- When true, when the
WindowHandle
isnull
, try to use the last focused window. IsWindowRequiredInWorkspace
bool- When true, the window must be in the workspace.
SkipDoLayout
bool- If
true
, do not perform a workspace layout.
Properties
DefaultToLastFocusedWindow
public bool DefaultToLastFocusedWindow { get; init; }
Property Value
IsWindowRequiredInWorkspace
When true, the window must be in the workspace.
public bool IsWindowRequiredInWorkspace { get; init; }
Property Value
WindowHandle
The handle of the window to operate on.
public HWND WindowHandle { get; init; }