menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Enum UMLSequenceMessageType - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Enum UMLSequenceMessageType

    Specifies the different types of UML message connectors in a sequence diagram.

    Namespace: Syncfusion.UI.Xaml.Diagram
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public enum UMLSequenceMessageType
    Examples
      
    
    <!-- Initialize the Sfdiagram -->  
    <syncfusion:SfDiagram x:Name="diagram">  
        <!-- Add the sequence diagram -->  
        <syncfusion:SfDiagram.Model>  
            <syncfusion:UMLSequenceDiagramModel>  
               <!-- Add the participants -->  
                <syncfusion:UMLSequenceDiagramModel.Participants>  
                    <syncfusion:ParticipantCollection> 
                        <syncfusion:UMLSequenceParticipant ID="Participant1" Content="Mike"  />  
                        <syncfusion:UMLSequenceParticipant ID="Participant2" Content="John"  />  
                    </syncfusion:ParticipantCollection> 
                </syncfusion:UMLSequenceDiagramModel.Participants>  
                <!-- Add the messages -->  
                <syncfusion:UMLSequenceDiagramModel.Messages> 
                    <syncfusion:MessageCollection> 
                        <syncfusion:UMLSequenceMessage ID="Message1" FromParticipantID="Participant1" ToParticipantID="Participant2" Content="Hello John" Type="Synchronous" />  
                        <syncfusion:UMLSequenceMessage ID="Message2" FromParticipantID="Participant2" ToParticipantID="Participant1" Content="Hi Mike" Type="Asynchronous" />  
                    </syncfusion:MessageCollection> 
                </syncfusion:UMLSequenceDiagramModel.Messages>  
           </syncfusion:UMLSequenceDiagramModel>  
        </syncfusion:SfDiagram.Model>  
    </syncfusion:SfDiagram>  

    Fields

    Name
    Asynchronous
    Create

    A message that creates a new instance.

    Delete
    Reply

    A reply message in response to a synchronous message.

    Self

    A message that sends an instance to itself. 

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