Skip to main content

DiagramOptionsSugiyamaLayout.LayerSpacing Property

Specifies the distance between layers of hierarchy.

Namespace: DevExpress.XtraDiagram.Options

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

[DefaultValue(40F)]
[DiagramCategory(DiagramCategory.Layout)]
public virtual float LayerSpacing { get; set; }

Property Value

Type Default Description
Single 40

A System.Single value that represents the distance in pixels.

Property Paths

You can access this nested property as listed below:

Object Type Path to LayerSpacing
DiagramControl
.OptionsSugiyamaLayout .LayerSpacing

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LayerSpacing property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also