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.
Name | Description | |
---|---|---|
Initializes a new instance of the NodeConstraints class. |
Name | Description | |
---|---|---|
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. |
||
Gets or sets a value indicating whether a node should always stay inside the boundaries of the diagram that contains it. |
||
Gets or sets a value indicating whether a node should always stay in the boundaries of its group master node. |
||
Gets or sets a value indicating whether the initial width/height ratio of a node should be preserved. |
||
Gets or sets the maximal node height allowed. |
||
Gets or sets the maximal node width allowed. |
||
Gets or sets the minimal node height allowed. |
||
Gets or sets the minimal node width allowed. |
||
Gets or sets constraints on movement direction. |
Name | Description | |
---|---|---|
Creates a copy of this object. |
||
Loads the label from the specified XML element. |
||
Saves the label into the specified XML element. |
Name | Description | |
---|---|---|
Loads the label from a JsonObject. |
||
Saves the label into a JsonObject. |
WpfDiagram Programmer's Guide | © 2024 MindFusion |