Skip to main content

SankeyNodeBuilder.Padding(Double) Method

Specifies the vertical distance, in pixels, between two nodes. Mirrors the client-side padding option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SankeyNodeBuilder Padding(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
SankeyNodeBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().Sankey()
    .Node(node => node
        .Padding(10)
    )
)
See Also