Class BpmnGateway
Represents a BPMN Gateway used to control the merging and splitting of process flows within a diagram.
Inherited Members
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. |