Skip to main content

TreeMapGroupBuilder.Padding(Double) Method

Specifies the distance in pixels between group borders and content. Mirrors the client-side padding option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeMapGroupBuilder Padding(
    double value
)

Parameters

Name Type Description
value Double

The option value.

Returns

Type Description
TreeMapGroupBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().TreeMap()
    .Group(group => group
        .Padding(5)
    )
)
See Also