DiagramControl.TreeLayoutAlignment Property

Specifies the tree layout alignment. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.1.dll


public Alignment TreeLayoutAlignment { get; set; }
Public Property TreeLayoutAlignment As Alignment

Property Value

Type Description

A Alignment enumeration value.


The TreeLayoutAlignment property specifies how the tree layout algorithm arranges shapes relatively to the layout axis. The layout axis is specified using the DiagramControl.TreeLayoutDirection property.

The table below illustrates tree alignments when the DiagramControl.TreeLayoutDirection property is set to LayoutDirection.TopToBottom and LayoutDirection.LeftToRight.

Alignment TopToBottom direction LeftToRight direction
Near Diagram Alignment Near Diagram Layout LtR Near
Center Diagram Alignment Center Diagram Layout LtR Center
Far Diagram Alignment Far Diagram Layout LtR Far


See Also