Skip to main content

TreeLayoutSettings(Double, Double, Direction, ThicknessInfo) Constructor

OBSOLETE

This constructor is obsolete. Use the TreeLayoutSettings(double horizontalSpacing, double verticalSpacing, LayoutDirection layoutDirection, bool isCompact = true, Alignment alignment = Alignment.Center) constructor instead

Initializes a new instance of the TreeLayoutSettings class.

Namespace: DevExpress.Diagram.Core.Layout

Assembly: DevExpress.Diagram.v24.1.Core.dll

NuGet Package: DevExpress.Diagram.Core

Declaration

[Obsolete("This constructor is obsolete. Use the TreeLayoutSettings(double horizontalSpacing, double verticalSpacing, LayoutDirection layoutDirection, bool isCompact = true, Alignment alignment = Alignment.Center) constructor instead")]
public TreeLayoutSettings(
    double horizontalSpacing,
    double verticalSpacing,
    Direction direction,
    ThicknessInfo margin
)

Parameters

Name Type Description
horizontalSpacing Double

A System.Double value that specifies the horizontal spacing between shapes.

verticalSpacing Double

A System.Double value that specifies the vertical spacing between shapes.

direction Direction

A Direction enumeration value.

margin DevExpress.Diagram.Core.ThicknessInfo

A DevExpress.Diagram.Core.ThicknessInfo object that is used to set the additional spacing between items.

See Also