UseCaseDiagramElement Class
An element of a use case diagram that relationships can link: an actor, a use case or a table.
public abstract class UseCaseDiagramElementProperties
| Name | Description |
|---|---|
| CssClasses | Gets the CSS classes of the element: the names of styles of UseCaseDiagram.ClassDefinitions. |
| Id | Gets the identifier of the element, unique in the diagram. It is the text shown when there is no UseCaseDiagramElement.Label. |
| Label | Gets or sets the text shown, or null to show the identifier. |
| Style | Gets or sets the style of the element, which takes precedence over the style of its classes. |
CssClasses
UseCaseDiagramElement.csGets the CSS classes of the element: the names of styles of UseCaseDiagram.ClassDefinitions.
Property value
Gets the identifier of the element, unique in the diagram. It is the text shown when there is no UseCaseDiagramElement.Label.
public string Id { get; }Property value
Gets or sets the text shown, or null to show the identifier.
public DiagramText? Label { get; set; }Property value
Gets or sets the style of the element, which takes precedence over the style of its classes.
public DiagramStyle? Style { get; set; }Property value
Methods
| Name | Description |
|---|---|
| ToString() | Returns the identifier of the element. |