Table of Contents

Class ActivateLayoutEngineTransform

Namespace
Whim
Assembly
Whim.dll
Set the active layout engine in the workspace specified by WorkspaceId and Predicate(IContext, Workspace, ILayoutEngine, int).
public abstract record ActivateLayoutEngineTransform : BaseWorkspaceTransform, IEquatable<Transform<bool>>, IEquatable<BaseWorkspaceTransform>, IEquatable<ActivateLayoutEngineTransform>
Inheritance
ActivateLayoutEngineTransform
Implements
Derived
Inherited Members

Constructors

ActivateLayoutEngineTransform(Guid)

Set the active layout engine in the workspace specified by WorkspaceId and Predicate(IContext, Workspace, ILayoutEngine, int).
protected ActivateLayoutEngineTransform(Guid WorkspaceId)

Parameters

WorkspaceId Guid
The id of the workspace.

Methods

Predicate(IContext, Workspace, ILayoutEngine, int)

The predicate to determine which layout engine should be activated.
public abstract bool Predicate(IContext ctx, Workspace workspace, ILayoutEngine engine, int idx)

Parameters

ctx IContext
The context.
workspace Workspace
The workspace to check.
engine ILayoutEngine
The layout engine to check.
idx int
The index of the layout engine in the workspace.

Returns

bool