Class SetLayoutEngineFromIndexTransform
- Namespace
- Whim
- Assembly
- Whim.dll
Set the active layout engine in the workspace specified by
WorkspaceId
and LayoutEngineIndex
.public record SetLayoutEngineFromIndexTransform : ActivateLayoutEngineTransform, IEquatable<Transform<bool>>, IEquatable<BaseWorkspaceTransform>, IEquatable<ActivateLayoutEngineTransform>, IEquatable<SetLayoutEngineFromIndexTransform>
- Inheritance
-
SetLayoutEngineFromIndexTransform
- Implements
- Inherited Members
Constructors
SetLayoutEngineFromIndexTransform(Guid, int)
Set the active layout engine in the workspace specified by
WorkspaceId
and LayoutEngineIndex
.public SetLayoutEngineFromIndexTransform(Guid WorkspaceId, int LayoutEngineIndex)
Parameters
WorkspaceId
Guid- The id of the workspace to set the layout engine in.
LayoutEngineIndex
int- The index of the layout engine to set as active.
Properties
LayoutEngineIndex
The index of the layout engine to set as active.
public int LayoutEngineIndex { get; init; }
Property Value
Methods
Predicate(IContext, Workspace, ILayoutEngine, int)
The predicate to determine which layout engine should be activated.
public override 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.