DiagramLite Programmer's Guide
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.

KeepInsideParent

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

KeepRatio

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

MaxHeight

Gets or sets the maximum node height allowed.

MaxWidth

Gets or sets the maximum node width allowed.

MinHeight

Gets or sets the minimum node height allowed.

MinWidth

Gets or sets the minimum node width allowed.

MoveDirection

Gets or sets constraints on movement direction.

 Public Methods

  Name Description

Clone

Creates a copy of this object.

 See Also

NodeConstraints Class
MindFusion.Diagramming Namespace