Skip to main content

LoadPanelBuilder.Shading(Boolean) Method

Specifies whether to shade the background when the UI component is active. Mirrors the client-side shading option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public LoadPanelBuilder Shading(
    bool value
)

Parameters

Name Type Description
value Boolean

The option value.

Returns

Type Description
LoadPanelBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().LoadPanel()
    .Shading(true)
)
See Also