Skip to main content

DiagramOptionsTreeLayout.HorizontalSpacing Property

Specifies the distance between shapes on the same level of hierarchy.

Namespace: DevExpress.XtraDiagram.Options

Assembly: DevExpress.XtraDiagram.v23.2.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

[DefaultValue(40F)]
[DiagramCategory(DiagramCategory.Layout)]
public virtual float HorizontalSpacing { 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 HorizontalSpacing
DiagramControl
.OptionsTreeLayout .HorizontalSpacing
See Also