TreeLayoutSettings(Double, Double, Direction, Double) 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.2.Core.dll
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 = Direction.Down,
double margin = 0
)
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. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
direction | Direction | Down | A System.Double enumeration value. |
margin | Double | 0 | A DevExpress.Diagram.Core.ThicknessInfo object that is used to set the additional spacing between items. |
See Also