Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BpmnDataObjects - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BpmnDataObjects

    A data object represents the information flowing throughout the BPMN process. This enumeration defines the type of Data object to be set in the BPMN shape.

    Inheritance
    System.Object
    BpmnDataObjects
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class BpmnDataObjects : Enum
    Remarks
    The BPMN Data object can be set to Input, Output or None.
    The below code is an example to set BPMN Data objects
    Examples
    <SfDiagram ID="Diagram" Height="600px" Nodes="@NodeCollection">
    </SfDiagram>
    @code{
       ObservableCollection<DiagramNode> NodeCollection = new ObservableCollection<DiagramNode>()
       {
           new DiagramNode()
           {
               OffsetX = 100,
               OffsetY = 100,
               Width = 100,
               Height = 100,
               //Sets type to Bpmn and shape to DataObject
               Shape = new DiagramShape()
               {
                   Type = Shapes.Bpmn,
                   BpmnShape=BpmnShapes.DataObject,
                   //Sets collection to true when Dataobject is not a Single instance
                   DataObject=new DiagramBpmnDataObject()
                   {
                       Collection=true,
                       Type=BpmnDataObjects.Input
                   }
               }
           },
        };
    }

    Fields

    Input

    The BPMN Data object type is set to Input.

    Declaration
    public const BpmnDataObjects Input
    Field Value
    Type Description
    BpmnDataObjects

    None

    The BPMN Data object type is set to None.

    Declaration
    public const BpmnDataObjects None
    Field Value
    Type Description
    BpmnDataObjects

    Output

    The BPMN Data object type is set to Output.

    Declaration
    public const BpmnDataObjects Output
    Field Value
    Type Description
    BpmnDataObjects

    value__

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