DiagramControl.TreeLayoutDepthAlignment Property

Gets or sets the tree diagram vertical alignment relative to the layout direction axis. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

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

Declaration

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

Property Value

Type Description
Alignment

A Alignment enumeration value that specifies the vertical alignment of the tree diagram.

Remarks

Use the TreeLayoutDepthAlignment property to specify the vertical alignment of the tree diagram on the canvas. The resulting diagram position will differ depending on the DiagramControl.TreeLayoutDirection property value.

The image below illustrates the depth alignment for the tree diagram when the DiagramControl.TreeLayoutDirection property is set to LayoutDirection.TopToBottom.

tree layout depth

The DiagramControl.TreeLayoutBreadthAlignment property specifies the horizontal alignment of the tree diagram.

Implements

DevExpress.Diagram.Core.IDiagramControl.TreeLayoutDepthAlignment
See Also