Skip to main content

WidgetFactory<TModel>.Toast() Method

Creates a Toast control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ToastBuilder Toast()

Returns

Type Description
ToastBuilder

An instance of ToastBuilder.

Remarks

This method creates a ToastBuilder class instance whose members can be used to specify Toast options.

@(Html.DevExtreme().Toast() // create a Toast
    // call methods to specify control options
)
See Also