menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BpmnMessageFlows - API Reference

    Show / Hide Table of Contents

    Class BpmnMessageFlows

    A Message flow shows the flow of messages between two participants, represented by a dashed line.

    Inheritance
    System.Object
    BpmnMessageFlows
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class BpmnMessageFlows : Enum
    Remarks
    By default, BpmnMessageFlows is set to Default.
    The following links might be useful in understanding BpmnMessageFlows, BpmnFlows
    The below code snippet is an example to set Message Flow to NonInitiatingMessage.
    Examples
    <SfDiagram Height="600px" Connectors="@ConnectorCollection">
    </SfDiagram>
    @code{
       ObservableCollection<DiagramConnector> ConnectorCollection = new ObservableCollection<DiagramConnector>()
       {
           new DiagramConnector()
           {
               SourcePoint=new ConnectorSourcePoint(){X=100,Y=200},
               TargetPoint=new ConnectorTargetPoint(){X=300,Y=200},
               //Sets type to Bpmn, flow to Message, and message to InitiatingMessage
               Shape=new DiagramConnectorShape()
               {
                   Type=ConnectionShapes.Bpmn,
                   BpmnFlow=BpmnFlows.Message,
                   Message=BpmnMessageFlows.NonInitiatingMessage
               }
           }
       };
    }

    Fields

    Default

    Sets the Message Flow to Default without a message symbol in it.

    Declaration
    public const BpmnMessageFlows Default
    Field Value
    Type Description
    BpmnMessageFlows

    InitiatingMessage

    Sets the Message Flow to InitiatingMessage.

    Declaration
    public const BpmnMessageFlows InitiatingMessage
    Field Value
    Type Description
    BpmnMessageFlows

    NonInitiatingMessage

    Sets the Message Flow to NonInitiatingMessage.

    Declaration
    public const BpmnMessageFlows NonInitiatingMessage
    Field Value
    Type Description
    BpmnMessageFlows

    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