menu

Blazor

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

    Show / Hide Table of Contents

    Class BpmnEvent

    Represents an event in a BPMN diagram as a circle that depicts an action within a process.

    Inheritance
    System.Object
    DiagramObject
    Shape
    BpmnEvent
    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 BpmnEvent : Shape, IDiagramObject, ICloneable
    Remarks

    In BPMN, events are visualized as circles in the diagram. These events can occur at the start, intermediate stages, or the end of a process.

    This class provides functionality to define and manipulate BPMN events within a diagram.

    Examples
    Node node = new Node()
    {
        ID = "node1",          
        Width = 70,
        Height = 70, 
        OffsetX = 100,
        OffsetY = 300,
        Shape = new BpmnEvent() 
        { 
            EventType = BpmnEventType.Intermediate, 
            Trigger = BpmnEventTrigger.None 
        }
    };

    Constructors

    BpmnEvent()

    Initializes a new instance of the BpmnEvent.

    Declaration
    public BpmnEvent()

    BpmnEvent(BpmnEvent)

    Creates a new instance of the BpmnEvent class.

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

    An existing BpmnEvent instance to copy.

    Properties

    EventType

    Gets or sets the type of the BPMN event.

    Declaration
    public BpmnEventType EventType { get; set; }
    Property Value
    Type Description
    BpmnEventType

    A BpmnEventType value representing the type of event in the process. The default value is Start.

    Remarks

    This property defines the nature and classification of the event within the process flow.

    Examples
    Node node = new Node()
    {
        ID = "node1",          
        Width = 70,
        Height = 70, 
        OffsetX = 100,
        OffsetY = 300,
        Shape = new BpmnEvent() 
        { 
            EventType = BpmnEventType.Intermediate, 
            Trigger = BpmnEventTrigger.None 
        }
    };

    Trigger

    Gets or sets the trigger that initiates the BPMN event.

    Declaration
    public BpmnEventTrigger Trigger { get; set; }
    Property Value
    Type Description
    BpmnEventTrigger

    A BpmnEventTrigger value indicating the event trigger type. The default value is None.

    Remarks

    This property specifies the condition or signal that activates the event.

    Examples
    Node node = new Node()
    {
        ID = "node1",          
        Width = 70,
        Height = 70, 
        OffsetX = 100,
        OffsetY = 300,
        Shape = new BpmnEvent() 
        { 
            EventType = BpmnEventType.Intermediate, 
            Trigger = BpmnEventTrigger.None 
        }
    };

    Methods

    Clone()

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

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

    A new instance of BpmnEvent that is identical to the current instance.

    Overrides
    Shape.Clone()

    Implements

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