Skip to main content

DiagramOptionsMindMapTreeLayout.SubTreeAlignment Property

Gets or sets the alignment of the mind-map‘s subtrees.

Namespace: DevExpress.XtraDiagram.Options

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

[DefaultValue(Alignment.Center)]
[DiagramCategory(DiagramCategory.Layout)]
public virtual Alignment SubTreeAlignment { get; set; }

Property Value

Type Default Description
Alignment Center

An Alignment enumeration value.

Available values:

Name Description
Near

In a left-to-right layout, items are aligned to the left from the layout axis. In a right-to-left layout, items are aligned to the right.

Center

Items are aligned along the layout axis.

Far

In a left-to-right layout, items are aligned to the right from the layout axis. In a right-to-left layout, items are aligned to the left.

Property Paths

You can access this nested property as listed below:

Object Type Path to SubTreeAlignment
DiagramControl
.OptionsMindMapTreeLayout .SubTreeAlignment
See Also