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 |