MindFusion.Wpf Pack Programmer's Guide
RelativePosition Members
Constructors Properties Methods
 


Represents relative positions inside diagram elements.

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

 Public Constructors

  Name Description

RelativePosition

 

 Public Properties

  Name Description

RelativeTo

Gets or sets the node's corner to which this point is anchored.

X

Gets or sets the horizontal position.

XUnit

Gets or sets whether the point's X position is specified as percentage of node's size or a fixed offset.

Y

Gets or sets the vertical position.

YUnit

Gets or sets whether the point's Y position is specified as percentage of node's size or a fixed offset.

 Public Methods

  Name Description

LoadFromXml

Loads the label from the specified XML element.

SaveToXml

Saves the label into the specified XML element.

 Protected Methods

  Name Description

LoadFromJson

Loads the label from a JsonObject.

SaveToJson

Saves the label into a JsonObject.

 See Also

RelativePosition Class
MindFusion.Diagramming.Wpf Namespace