menu

Blazor

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

    Show / Hide Table of Contents

    Class BpmnActivities

    The BPMN activity is a task performed in a business process and it is represented by a rounded rectangle.

    Inheritance
    System.Object
    BpmnActivities
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class BpmnActivities : Enum
    Remarks
    To know more about BpmnActivities, refer the following links:
    DiagramBpmnActivity
    The following code snippet demonstrates how to set BPMNActivity to Task.
    Examples
    <SfDiagram Height="600px" Nodes="@NodeCollection">
    </SfDiagram>
    @code{
        ObservableCollection<DiagramNode> NodeCollection = new ObservableCollection<DiagramNode>()
        {
           new DiagramNode()
           {
               OffsetX = 100, OffsetY = 100,
               Width = 100, Height = 100,
               Shape = new DiagramShape()
               {
                   Type = Shapes.Bpmn,
                   BpmnShape = BpmnShapes.Activity,
                   ///Sets the activity type to task
                   Activity = new DiagramBpmnActivity(){ Activity = BpmnActivities.Task },
               }
           }
       };
    }

    Fields

    None

    Renders a BPMN activity shape of type None.

    Declaration
    public const BpmnActivities None
    Field Value
    Type Description
    BpmnActivities

    SubProcess

    Defines the BPMN activity to Subprocess.

    Declaration
    public const BpmnActivities SubProcess
    Field Value
    Type Description
    BpmnActivities

    Task

    Sets the BPMN activity as Task.

    Declaration
    public const BpmnActivities Task
    Field Value
    Type Description
    BpmnActivities

    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