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
WorkspaceIdGuid- 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
ctxIContext- The context.
workspaceWorkspace- The workspace to check.
engineILayoutEngine- The layout engine to check.
idxint- The index of the layout engine in the workspace.