Skip to main content
A newer version of this page is available. .

SankeyLinkBuilder.ColorMode(SankeyColorMode) Method

Mirrors the client-side colorMode option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SankeyLinkBuilder ColorMode(
    SankeyColorMode value
)

Parameters

Name Type Description
value SankeyColorMode

The option value.

Returns

Type Description
SankeyLinkBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().Sankey()
    .Link(link => link
        .ColorMode(SankeyColorMode.Gradient)
    )
)
See Also