Sequence
Namespace: Wisej.Web.Ext.jSequence
Assembly: Wisej.Web.Ext.jSequence
The Sequence control turns text into UML sequence diagrams: https://bramp.github.io/js-sequence-diagrams/.
- C#
- VB.NET
public class Sequence : Widget
Public Class Sequence
Inherits Widget
Constructors
Sequence()
Constructs a new Sequence control.
Properties
InitScript
String: Overridden to create our initialization script.
Packages
List<Package>: Overridden to return our list of script resources.
Theme
String: Returns or sets the name of the theme to use to draw the UML diagram. (Default: "Simple")
UML
String: Returns or sets the UML definition of the diagram using this syntax: grammar. (Default: "")
Methods
GetImage(callback)
Returns the sequence image.
| Parameter | Type | Description |
|---|---|---|
| callback | Action<Image> | Callback method that receives the Image object. |
Throws:
- ArgumentNullException If any of the arguments is null.
GetImageAsync()
Asynchronously returns the sequence image.
Returns: Task<Image>. An awaitable Task that contains the image.
Events
ElementClick
ElementClickEventHandler Triggered when the user clicks an element in the sequence.