DiagramOptionsMindMapTreeLayout.NodeAlignment Property

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

Namespace: DevExpress.XtraDiagram.Options

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

[DefaultValue(Alignment.Center)]
[DiagramCategory(DiagramCategory.Layout)]
public virtual Alignment NodeAlignment { get; set; }
<DefaultValue(Alignment.Center)>
<DiagramCategory(DiagramCategory.Layout)>
Public Overridable Property NodeAlignment As Alignment

Property Value

Type Default Description
Alignment

Center

A Alignment enumeration value.

Property Paths

You can access this nested property as listed below:

Object Type Path to NodeAlignment
DiagramControl
.OptionsMindMapTreeLayout.NodeAlignment

Remarks

Use the NodeAlignment property to specify the horizontal 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 NodeAlignment property for the mind-map tree diagram when the DiagramOptionsMindMapTreeLayout.Orientation property is set to Horizontal.

NodeAlignment

The DiagramOptionsMindMapTreeLayout.HierarchyAlignment property specifies the vertical alignment of the mind-map tree diagram.

See Also