Back to Devexpress

DiagramControl.MindMapTreeLayoutNodeAlignment Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-4c4cbdf8.md

latest2.5 KB
Original Source

DiagramControl.MindMapTreeLayoutNodeAlignment Property

Specifies the mind-map tree layout horizontal alignment relative to the layout direction axis. This is a dependency property.

Namespace : DevExpress.Xpf.Diagram

Assembly : DevExpress.Xpf.Diagram.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public Alignment MindMapTreeLayoutNodeAlignment { get; set; }
vb
Public Property MindMapTreeLayoutNodeAlignment As Alignment

Property Value

TypeDescription
Alignment

A Alignment enumeration value.

|

Available values:

NameDescription
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.

|

Remarks

Use the MindMapTreeLayoutNodeAlignment 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 DiagramControl.MindMapTreeLayoutOrientation property value.

The image below illustrates the MindMapTreeLayoutNodeAlignment property for the mind-map tree diagram when the DiagramControl.MindMapTreeLayoutOrientation property is set to Horizontal.

The DiagramControl.MindMapTreeLayoutHierarchyAlignment property specifies the vertical alignment of the mind-map tree diagram.

See Also

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace