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

ToastBuilder.CloseOnOutsideClick(Boolean) Method

This method sets the client-side closeOnOutsideClick option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ToastBuilder CloseOnOutsideClick(
    bool value
)

Parameters

Name Type Description
value Boolean

Returns

Type Description
ToastBuilder

Remarks

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

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