Search
NodeConstraints Members
Constructors Properties Methods
 


Defines specific constraints that can be applied to the size and location of nodes.

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

 Public Constructors

  Name Description

NodeConstraints

Initializes a new instance of the NodeConstraints class.

 Public Properties

  Name Description

DisableMirroring

Gets or sets a value indicating whether the user can drag a side of the node past its opposite side, so that they switch positions.

KeepInsideDiagram

Gets or sets a value indicating whether a node should always stay inside the boundaries of the diagram that contains it.

KeepInsideParent

Gets or sets a value indicating whether a node should always stay in the boundaries of its group master node.

KeepRatio

Gets or sets a value indicating whether the initial width/height ratio of a node should be preserved.

MaxHeight

Gets or sets the maximal node height allowed.

MaxWidth

Gets or sets the maximal node width allowed.

MinHeight

Gets or sets the minimal node height allowed.

MinWidth

Gets or sets the minimal node width allowed.

MoveDirection

Gets or sets constraints on movement direction.

 Public Methods

  Name Description

Clone

Creates a copy of this object.

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