Skip to main content

DiagramOptionsMindMapTreeLayout.HierarchyAlignment Property

Specifies the mind-map tree layout vertical alignment relative to the layout direction axis.

Namespace: DevExpress.XtraDiagram.Options

Assembly: DevExpress.XtraDiagram.v24.2.dll

Declaration

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

Property Value

Type Default Description
Alignment Center

A 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 HierarchyAlignment
DiagramControl
.OptionsMindMapTreeLayout .HierarchyAlignment

Remarks

Use the HierarchyAlignment property to specify the vertical alignment of the mind-map tree diagram on the canvas relative to the layout direction axis. The resulting diagram position will differ, depending on the DiagramOptionsMindMapTreeLayout.Orientation property value.

The image below illustrates the HierarchyAlignment property for the mind-map tree diagram when the DiagramOptionsMindMapTreeLayout.Orientation property is set to Horizontal.

HierarchyAlignment

The DiagramOptionsMindMapTreeLayout.NodeAlignment property specifies the horizontal alignment of the mind-map tree diagram.

See Also