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