alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    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>
      
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved