Class UMLEnumeration
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript.DataVisualization.Models.Diagram
Assembly: Syncfusion.EJ.dll
Syntax
public class UMLEnumeration : EJTagHelper
Constructors
UMLEnumeration()
Declaration
public UMLEnumeration()
UMLEnumeration(UMLEnumeration)
Declaration
public UMLEnumeration(UMLEnumeration src)
Parameters
Type | Name | Description |
---|---|---|
UMLEnumeration | src |
Properties
Members
Gets or sets the name of the enumeration
Declaration
[JsonProperty("members")]
public Collection Members { get; set; }
Property Value
Type | Description |
---|---|
Collection | Collection |
Examples
UMLClassifier Node = new UMLClassifier();
Node.OffsetX = 100;
Node.OffsetY = 100;
Node.FillColor = "#1BA0E2";
Node.Classifier = ClassifierShapes.Enumeration;
Node.Enumeration = new UMLEnumeration()
{
Name = "MailStatus",
Members = new Collection() {
new EnumMember() { Name="Sent" },
new EnumMember() { Name="Delivered" },
},
};
Name
Gets or sets the name of the enumeration
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | String.Empty |
Examples
UMLClassifier Node = new UMLClassifier();
Node.OffsetX = 100;
Node.OffsetY = 100;
Node.FillColor = "#1BA0E2";
Node.Classifier = ClassifierShapes.Enumeration;
Node.Enumeration = new UMLEnumeration()
{
Name = "MailStatus"
};