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:UMLSequenceParticipant ID="Participant1" Content="Mike" />
<syncfusion:UMLSequenceParticipant ID="Participant2" Content="John" />
</syncfusion:UMLSequenceDiagramModel.Participants>
<!-- Add the messages -->
<syncfusion:UMLSequenceDiagramModel.Messages>
<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:UMLSequenceDiagramModel.Messages>
</syncfusion:UMLSequenceDiagramModel>
</syncfusion:SfDiagram.Model>
</syncfusion:SfDiagram>
Fields
Name | Description |
---|---|
Asynchronous | An asynchronous message that does not wait for a reply. |
Create | A message that creates a new instance. |
Delete | A message that deletes an instance. |
Reply | A reply message in response to a synchronous message. |
Self | A message that sends an instance to itself. |
Synchronous | A synchronous message that waits for a reply. |