Class Styles
The styles associated with this set of views.
[DataContract]
public sealed class Styles
- Inheritance
-
Styles
- Inherited Members
Properties
Elements
The set of element styles.
[DataMember(Name = "elements", EmitDefaultValue = false)]
public IList<ElementStyle> Elements { get; set; }
Property Value
Relationships
The set of relationship styles.
[DataMember(Name = "relationships", EmitDefaultValue = false)]
public IList<RelationshipStyle> Relationships { get; }
Property Value
Methods
Add(ElementStyle)
Adds an element style when no style for the same tag exists yet.
public void Add(ElementStyle elementStyle)
Parameters
elementStyleElementStyleThe element style to add.
Exceptions
- ArgumentException
Thrown when another element style already uses the same tag.
Add(RelationshipStyle)
Adds a relationship style when no style for the same tag exists yet.
public void Add(RelationshipStyle relationshipStyle)
Parameters
relationshipStyleRelationshipStyleThe relationship style to add.
Exceptions
- ArgumentException
Thrown when another relationship style already uses the same tag.
ClearElementStyles()
Removes all element styles.
public void ClearElementStyles()
ClearRelationshipStyles()
Removes all relationship styles.
public void ClearRelationshipStyles()