The relative vertical alignment of nodes within their respective layers.

Namespace: yWorks.yFiles.Layout.Tree
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public virtual double VerticalAlignment { get; set; }
Visual Basic
Public Overridable Property VerticalAlignment As Double Get Set

Remarks

Specifies the relative vertical alignment of nodes within their respective layers. A value of 0 means nodes are top aligned; a value of 1 means nodes are bottom aligned.

If global layering is not enforced, the value of this property is usually ignored.

Defaults to 0.5, i.e. nodes are center aligned.

See Also