Class UMLSequenceActivationBox
Represents an activation region on a participant's lifeline, indicating a time period when the participant is active.
Inheritance
System.Object
UMLSequenceActivationBox
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class UMLSequenceActivationBox : Object
Constructors
UMLSequenceActivationBox()
Declaration
public UMLSequenceActivationBox()
Properties
EndMessageID
Gets or sets the identifier of the message to define where the activation should end.Â
Declaration
public object EndMessageID { get; set; }
Property Value
| Type |
|---|
| System.Object |
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.ActivationBoxes>
<syncfusion:ActivationBoxCollection>
<syncfusion:UMLSequenceActivationBox ID="Activation1" StartMessageID="Message1" EndMessageID="Message2"/>
</syncfusion:ActivationBoxCollection>
</syncfusion:UMLSequenceParticipant.ActivationBoxes>
</syncfusion:UMLSequenceParticipant>
<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"/>
<syncfusion:UMLSequenceMessage ID="Message2" FromParticipantID="Participant2" ToParticipantID="Participant1" Content="Hi Mike"/>
</syncfusion:MessageCollection>
</syncfusion:UMLSequenceDiagramModel.Messages>
</syncfusion:UMLSequenceDiagramModel>
</syncfusion:SfDiagram.Model>
</syncfusion:SfDiagram> Â Â
ID
Gets or sets the unique identifier for the activation.Â
Declaration
public object ID { get; set; }
Property Value
| Type |
|---|
| System.Object |
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.ActivationBoxes>
<syncfusion:ActivationBoxCollection>
<syncfusion:UMLSequenceActivationBox ID="Activation1" StartMessageID="Message1" EndMessageID="Message2"/>
</syncfusion:ActivationBoxCollection>
</syncfusion:UMLSequenceParticipant.ActivationBoxes>
</syncfusion:UMLSequenceParticipant>
<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"/>
<syncfusion:UMLSequenceMessage ID="Message2" FromParticipantID="Participant2" ToParticipantID="Participant1" Content="Hi Mike"/>
</syncfusion:MessageCollection>
</syncfusion:UMLSequenceDiagramModel.Messages>
</syncfusion:UMLSequenceDiagramModel>
</syncfusion:SfDiagram.Model>
</syncfusion:SfDiagram> Â Â
StartMessageID
Gets or sets the identifier of the message to define where the activation should start.Â
Declaration
public object StartMessageID { get; set; }
Property Value
| Type |
|---|
| System.Object |
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.ActivationBoxes>
<syncfusion:ActivationBoxCollection>
<syncfusion:UMLSequenceActivationBox ID="Activation1" StartMessageID="Message1" EndMessageID="Message2"/>
</syncfusion:ActivationBoxCollection>
</syncfusion:UMLSequenceParticipant.ActivationBoxes>
</syncfusion:UMLSequenceParticipant>
<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"/>
<syncfusion:UMLSequenceMessage ID="Message2" FromParticipantID="Participant2" ToParticipantID="Participant1" Content="Hi Mike"/>
</syncfusion:MessageCollection>
</syncfusion:UMLSequenceDiagramModel.Messages>
</syncfusion:UMLSequenceDiagramModel>
</syncfusion:SfDiagram.Model>
</syncfusion:SfDiagram> Â Â