menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BpmnGateway - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BpmnGateway

    Represents a BPMN Gateway used to control the merging and splitting of process flows within a diagram.

    Inheritance
    System.Object
    DiagramObject
    Shape
    BpmnGateway
    Implements
    IDiagramObject
    System.ICloneable
    Inherited Members
    DiagramObject.GetParent()
    DiagramObject.OnPropertyChanged(String, Object, Object, IDiagramObject)
    Shape.Type
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class BpmnGateway : Shape, IDiagramObject, ICloneable
    Remarks

    BPMN Gateways are used to control the flow of processes in a BPMN diagram by specifying conditions or constraints for the paths that the process can take.

    Examples
    Node node = new Node()
    {
        ID = "node1",          
        Width = 70,
        Height = 70, 
        OffsetX = 100,
        OffsetY = 300,
        Shape = new BpmnGateway()
        { 
            GatewayType = BpmnGatewayType.None
        }
    };

    Constructors

    BpmnGateway()

    Initializes a new instance of the BpmnGateway.

    Declaration
    public BpmnGateway()

    BpmnGateway(BpmnGateway)

    Creates a new instance of the BpmnGateway class.

    Declaration
    public BpmnGateway(BpmnGateway src)
    Parameters
    Type Name Description
    BpmnGateway src

    The source BpmnGateway to copy.

    Properties

    GatewayType

    Gets or sets the type of the BPMN Gateway.

    Declaration
    public BpmnGatewayType GatewayType { get; set; }
    Property Value
    Type Description
    BpmnGatewayType

    A BpmnGatewayType that specifies the control type on the process flow. The default value is None.

    Remarks

    Changing the GatewayType will trigger a property change event, if applicable, to update the diagram flow.

    Methods

    Clone()

    Creates a new BpmnGateway that is a copy of the current BpmnGateway.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    A new BpmnGateway instance that is a copy of this instance.

    Overrides
    Shape.Clone()

    Implements

    IDiagramObject
    System.ICloneable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved