ErElement Class
An element of an entity relationship diagram that relationships can link: an entity or a subgraph.
public abstract class ErElementProperties
| Name | Description |
|---|---|
| CssClasses | Gets the CSS classes of the element: the names of styles of ErDiagram.ClassDefinitions. |
| Id | Gets the identifier of the element, unique in the diagram. It is the name shown when there is no ErElement.Label. |
| Label | Gets or sets the name 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
ErElement.csGets the CSS classes of the element: the names of styles of ErDiagram.ClassDefinitions.
Property value
Gets the identifier of the element, unique in the diagram. It is the name shown when there is no ErElement.Label.
public string Id { get; }Property value
Label
ErElement.csGets or sets the name shown, or null to show the identifier.
public DiagramText? Label { get; set; }Property value
Style
ErElement.csGets 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. |