Represents a reusable set of properties that define the appearance of diagrams.
The following tables list the members exposed by the DiagramStyle type.
Name | Description | |
---|---|---|
Initializes a new instance of the DiagramStyle class. |
Name | Description | |
---|---|---|
Gets or sets the brush used for painting the diagram background. |
||
Gets or sets the brush used to fill the interior of items. |
||
Gets or sets the font family of the item texts. |
||
Gets or sets the font size of the item texts. |
||
Gets or sets the font style of the item texts. |
||
Gets or sets the font unit of the item texts. |
||
Gets a list with all effects applied to the nodes of this diagram. |
||
Gets or sets the brush used to paint the shadow of the items. |
||
Gets or sets the brush used to paint the outline of the items. |
||
Gets or sets the pattern of dashes and gaps used to outline items. |
||
Gets or sets the thickness of the items' outline, expressed in the current units of measure. |
||
Gets or sets the brush used to paint texts inside the items. |
Name | Description | |
---|---|---|
Gets all properties in the style. (Inherited from Style.) |
||
Returns the property with the specified name, if any. (Inherited from Style.) |
||
Associates a type with an alias. (Inherited from Style.) |
Name | Description | |
---|---|---|
Gets the value of the specified property. (Inherited from Style.) |
||
Checks whether the specified property has a value. (Inherited from Style.) |
||
Deserializes the item from the specified reader. (Inherited from Style.) |
||
Loads the style content from a JSON object. |
||
Loads the style content from an XML element. (Inherited from Style.) |
||
Raises the PropertyChanged event. (Inherited from Style.) |
||
Registers a new property with the specified name and type. (Inherited from Style.) |
||
Serializes the style to the specified writer. (Inherited from Style.) |
||
Saves the style content into a JsonObject. |
||
Saves the style content into an XML element. (Inherited from Style.) |
||
Sets the value of the specified property. (Inherited from Style.) |
||
Clears the value of the specified property. (Inherited from Style.) |
Name | Description | |
---|---|---|
Raised when any of the registered style properties has changed. (Inherited from Style.) |