Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BpmnGateways

    Show / Hide Table of Contents

    Class BpmnGateways

    The Gateway controls the flow of a process and it is represented by a diamond shape. This enumeration defines the type of gateway to be set in the BPMN shape.

    Inheritance
    System.Object
    BpmnGateways
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class BpmnGateways : Enum
    Remarks
    The BPMN Gateway can be set to Complex, EventBased, etc., All the gateway shapes are covered by a diamond-like shape in the outer.
    The below code snippet is an example to set BPMN Gateways,
    Examples
    <SfDiagram Height="600px" Nodes="@NodeCollection">
    </SfDiagram>
    @code{
       //Initialize the node collection with node
       ObservableCollection<DiagramNode> NodeCollection = new ObservableCollection<DiagramNode>()
       {
           new DiagramNode()
           {
               OffsetX = 100, OffsetY = 100,
               Width = 100, Height = 100,
               Shape = new DiagramShape()
               {
                   Type = Shapes.Bpmn, BpmnShape = BpmnShapes.Gateway,
                   ///Sets type of the gateway to None
                   Gateway = new DiagramBpmnGateway(){Type = BpmnGateways.Parallel}
               }
           }
       };
    }

    Fields

    Complex

    Sets the gateway type to Complex and it is represented by an asterisk symbol inside the gateway.

    Declaration
    public const BpmnGateways Complex
    Field Value
    Type Description
    BpmnGateways

    EventBased

    Sets the gateway type to Event.

    Declaration
    public const BpmnGateways EventBased
    Field Value
    Type Description
    BpmnGateways

    Exclusive

    Sets the gateway type to Exclusive and it is represented by a cross symbol inside the gateway shape.

    Declaration
    public const BpmnGateways Exclusive
    Field Value
    Type Description
    BpmnGateways

    ExclusiveEventBased

    Sets the gateway type to ExclusiveEventBased.

    Declaration
    public const BpmnGateways ExclusiveEventBased
    Field Value
    Type Description
    BpmnGateways

    Inclusive

    Sets the gateway type to Inclusive and it is represented by a circle inside the gateway shape.

    Declaration
    public const BpmnGateways Inclusive
    Field Value
    Type Description
    BpmnGateways

    None

    Sets the gateway type to None and it is represented by a diamond(gateway) shape with no symbols in it.

    Declaration
    public const BpmnGateways None
    Field Value
    Type Description
    BpmnGateways

    Parallel

    Sets the gateway type to Parallel. It is represented by an addition sign inside the gateway shape.

    Declaration
    public const BpmnGateways Parallel
    Field Value
    Type Description
    BpmnGateways

    ParallelEventBased

    Sets the gateway type to ParallelEventBased.

    Declaration
    public const BpmnGateways ParallelEventBased
    Field Value
    Type Description
    BpmnGateways

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved