Skip to main content

TreeListLoadPanelBuilder.ShadingColor(String) Method

Specifies the shading color. Applies only if shading is true. Mirrors the client-side shadingColor option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeListLoadPanelBuilder ShadingColor(
    string value
)

Parameters

Name Type Description
value String

The option value.

Returns

Type Description
TreeListLoadPanelBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().TreeList()
    .LoadPanel(panel => panel
        .ShadingColor("#fff")
    )
)
See Also