Class BpmnLoops
The loop property of a task allows the user to define the type of loop. Loop is a task looped internally. Loops can be set to both tasks and subprocesses.
Inheritance
System.Object
BpmnLoops
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class BpmnLoops : Enum
Remarks
By default, Loops are set to None.
Examples
<SfDiagram Height="600px" Nodes="@NodeCollection">
</SfDiagram>
@code{
ObservableCollection<DiagramNode> NodeCollection = new ObservableCollection<DiagramNode>()
{
new DiagramNode()
{
OffsetX = 100, OffsetY = 100,
Width = 100,
Height = 100,
Shape = new DiagramShape()
{
Type = Shapes.Bpmn,
BpmnShape = BpmnShapes.Activity,
Activity = new DiagramBpmnActivity()
{
Activity = BpmnActivities.Task,
///Sets collapsed to true and loop to standard
Task=new DiagramBpmnTask()
{
Loop = BpmnLoops.SequenceMultiInstance,
}, }
}
}
};
}
Fields
None
Sets the loop for task or subprocess as None.
Declaration
public const BpmnLoops None
Field Value
Type | Description |
---|---|
BpmnLoops |
ParallelMultiInstance
Sets the loop for task or subprocess as ParallelMultiInstance.
Declaration
public const BpmnLoops ParallelMultiInstance
Field Value
Type | Description |
---|---|
BpmnLoops |
SequenceMultiInstance
Sets the loop for task or subprocess as SequenceMultiInstance.
Declaration
public const BpmnLoops SequenceMultiInstance
Field Value
Type | Description |
---|---|
BpmnLoops |
Standard
Sets the loop for task or subprocess as Standard.
Declaration
public const BpmnLoops Standard
Field Value
Type | Description |
---|---|
BpmnLoops |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |