The requested page is not available for the requested platform. You are viewing the content for Default platform.

ToastBuilder.Option(String, Object) Method

Specifies an option by its name.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ToastBuilder Option(
    string jsName,
    object value
)

Parameters

Name Type Description
jsName String
value Object

Returns

Type Description
ToastBuilder

Remarks

In Razor files, use the following notation to set the option's value:

@Html.DevExtreme().Toast().Option(...)
See Also