Search
FreeFormNodeStyle Members
Constructors Properties Methods Events
 


Represents a reusable set of properties that define the appearance of free-form nodes.

The following tables list the members exposed by the FreeFormNodeStyle type.

 Public Constructors

  Name Description

FreeFormNodeStyle

Initializes a new instance of the FreeFormNodeStyle class.

 Public Properties

  Name Description

Brush

Gets or sets the brush used to fill the interior of the item. (Inherited from DiagramItemStyle.)

Effects

Gets a list of the effects applied to the node. (Inherited from DiagramNodeStyle.)

FontFamily

Gets or sets the font family of the item text. (Inherited from DiagramItemStyle.)

FontSize

Gets or sets the font size of the item text. (Inherited from DiagramItemStyle.)

FontStyle

Gets or sets the font style of the item text. (Inherited from DiagramItemStyle.)

FontUnit

Gets or sets the font unit of the item text. (Inherited from DiagramItemStyle.)

ShadowBrush

Gets or sets the brush used to paint the shadow of the item. (Inherited from DiagramItemStyle.)

Stroke

Gets or sets the brush used to paint the outline of the item. (Inherited from DiagramItemStyle.)

StrokeDashStyle

Gets or sets the pattern of dashes and gaps used to outline items. (Inherited from DiagramItemStyle.)

StrokeThickness

Gets or sets the thickness of the item's outline, expressed in the current units of measure. (Inherited from DiagramItemStyle.)

TextBrush

Gets or sets the brush used to paint texts inside the item. (Inherited from DiagramItemStyle.)

 Public Methods

  Name Description

GetProperties

Gets all properties in the style. (Inherited from Style.)

GetProperty

Returns the property with the specified name, if any. (Inherited from Style.)

RegisterType

Associates a type with an alias. (Inherited from Style.)

 Protected Methods

  Name Description

GetValue

Gets the value of the specified property. (Inherited from Style.)

IsPropertySet

Checks whether the specified property has a value. (Inherited from Style.)

LoadFrom

Deserializes the item from the specified reader. (Inherited from Style.)

LoadFromJson

Loads the style content from a JsonObject. (Inherited from DiagramNodeStyle.)

LoadFromXml

Loads the style content from an XML element. (Inherited from Style.)

OnPropertyChanged

Raises the PropertyChanged event. (Inherited from Style.)

RegisterProperty

Registers a new property with the specified name and type. (Inherited from Style.)

SaveTo

Serializes the style to the specified writer. (Inherited from Style.)

SaveToJson

Saves the style content into a JsonObject. (Inherited from DiagramNodeStyle.)

SaveToXml

Saves the style content into an XML element. (Inherited from Style.)

SetValue

Sets the value of the specified property. (Inherited from Style.)

UnsetValue

Clears the value of the specified property. (Inherited from Style.)

 Public Events

  Name Description

PropertyChanged

Raised when any of the registered style properties has changed. (Inherited from Style.)

 See Also