SankeyLinkBuilder.ColorMode(SankeyColorMode) Method
In This Article
Specifies how to color links. Mirrors the client-side colorMode option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public SankeyLinkBuilder ColorMode(
SankeyColorMode value
)
#Parameters
Name | Type | Description |
---|---|---|
value | Sankey |
The option value. |
#Returns
Type | Description |
---|---|
Sankey |
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