Back to Devexpress

LoadPanelBuilder.Shading(Boolean) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-loadpanelbuilder-dot-shading-x28-system-dot-boolean-x29.md

latest1.3 KB
Original Source

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

csharp
public LoadPanelBuilder Shading(
    bool value
)

Parameters

NameTypeDescription
valueBoolean

The option value.

|

Returns

TypeDescription
LoadPanelBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().LoadPanel()
    .Shading(true)
)

See Also

LoadPanelBuilder Class

LoadPanelBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace