DiagramControl.SugiyamaLayoutLayersAlignment Property

Gets or sets the alignment of the diagram depending on its direction. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

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

Declaration

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

Property Value

Type Description
Alignment

A Alignment enumeration value that specifies the diagram alignment.

Remarks

Use the SugiyamaLayoutLayersAlignment property to specify the alignment of the layered diagram on the canvas. The resulting diagram position will differ depending on the DiagramControl.SugiyamaLayoutDirection property value.

The following table describes the effect of the SugiyamaLayoutLayersAlignment property. Grey arrows indicate the layout direction. The diagram is aligned along the red axis.

DiagramControl.SugiyamaLayoutDirection property value Alignment
TopToBottom SugiyamaColumnsAlignmentTB
BottomToTop SugiyamaColumnsAlignmentBT
LeftToRight SugiyamaColumnsAlignmentLR
RightToLeft SugiyamaColumnsAlignmentRL

Implements

DevExpress.Diagram.Core.IDiagramControl.SugiyamaLayoutLayersAlignment
See Also