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

ToastBuilder Methods

This class is a Razor helper that wraps the DevExtreme Toast widget.

Name Description
AccessKey(JS)

This method sets the client-side accessKey option.

AccessKey(String)

This method sets the client-side accessKey option.

Animation(Action<ToastAnimationBuilder>)

This method sets the client-side animation option.

CloseOnClick(Boolean)

This method sets the client-side closeOnClick option.

CloseOnClick(JS)

This method sets the client-side closeOnClick option.

CloseOnOutsideClick(Boolean)

This method sets the client-side closeOnOutsideClick option.

CloseOnOutsideClick(JS)

This method sets the client-side closeOnOutsideClick option.

CloseOnSwipe(Boolean)

This method sets the client-side closeOnSwipe option.

CloseOnSwipe(JS)

This method sets the client-side closeOnSwipe option.

ContentTemplate(JS)

This method specifies the client-side contentTemplate template. Refer to the Templates article for code examples and more information about template syntax.

ContentTemplate(RazorBlock)

This method specifies the client-side contentTemplate template. Refer to the Templates article for code examples and more information about template syntax.

ContentTemplate(String)

This method specifies the client-side contentTemplate template. Refer to the Templates article for code examples and more information about template syntax.

ContentTemplate(TemplateName)

This method specifies the client-side contentTemplate template. Refer to the Templates article for code examples and more information about template syntax.

DeferRendering(Boolean)

This method sets the client-side deferRendering option.

DeferRendering(JS)

This method sets the client-side deferRendering option.

DisplayTime(Double)

This method sets the client-side displayTime option.

DisplayTime(JS)

This method sets the client-side displayTime option.

ElementAttr(Dictionary<String, Object>)

This method sets the client-side elementAttr option.

ElementAttr(JS)

This method sets the client-side elementAttr option.

ElementAttr(Object)

This method sets the client-side elementAttr option.

ElementAttr(String, Object)

This method sets the client-side elementAttr option.

Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
FocusStateEnabled(Boolean)

This method sets the client-side focusStateEnabled option.

FocusStateEnabled(JS)

This method sets the client-side focusStateEnabled option.

GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetType() Gets the Type of the current instance.
(Inherited from Object)
Height(Double)

This method sets the client-side height option.

Height(JS)

This method sets the client-side height option.

Height(String)

This method sets the client-side height option.

Hint(JS)

This method sets the client-side hint option.

Hint(String)

This method sets the client-side hint option.

HoverStateEnabled(Boolean)

This method sets the client-side hoverStateEnabled option.

HoverStateEnabled(JS)

This method sets the client-side hoverStateEnabled option.

ID(JS)

Specifies a JS expression calculating an HTML id for the root element of the widget defined within a template.

ID(String)

Specifies an HTML id for the widget's root element.

MaxHeight(Double)

This method sets the client-side maxHeight option.

MaxHeight(JS)

This method sets the client-side maxHeight option.

MaxHeight(String)

This method sets the client-side maxHeight option.

MaxWidth(Double)

This method sets the client-side maxWidth option.

MaxWidth(JS)

This method sets the client-side maxWidth option.

MaxWidth(String)

This method sets the client-side maxWidth option.

MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
Message(JS)

This method sets the client-side message option.

Message(String)

This method sets the client-side message option.

MinHeight(Double)

This method sets the client-side minHeight option.

MinHeight(JS)

This method sets the client-side minHeight option.

MinHeight(String)

This method sets the client-side minHeight option.

MinWidth(Double)

This method sets the client-side minWidth option.

MinWidth(JS)

This method sets the client-side minWidth option.

MinWidth(String)

This method sets the client-side minWidth option.

OnContentReady(RazorBlock)

This method sets the client-side onContentReady option.

OnContentReady(String)

This method sets the client-side onContentReady option.

OnDisposing(RazorBlock)

This method sets the client-side onDisposing option.

OnDisposing(String)

This method sets the client-side onDisposing option.

OnHidden(RazorBlock)

This method sets the client-side onHidden option.

OnHidden(String)

This method sets the client-side onHidden option.

OnHiding(RazorBlock)

This method sets the client-side onHiding option.

OnHiding(String)

This method sets the client-side onHiding option.

OnInitialized(RazorBlock)

This method sets the client-side onInitialized option.

OnInitialized(String)

This method sets the client-side onInitialized option.

OnOptionChanged(RazorBlock)

This method sets the client-side onOptionChanged option.

OnOptionChanged(String)

This method sets the client-side onOptionChanged option.

OnShowing(RazorBlock)

This method sets the client-side onShowing option.

OnShowing(String)

This method sets the client-side onShowing option.

OnShown(RazorBlock)

This method sets the client-side onShown option.

OnShown(String)

This method sets the client-side onShown option.

Option(String, Object)

Specifies an option by its name.

Position(Action<PositionConfigBuilder>)

This method sets the client-side position option.

Position(JS)

This method sets the client-side position option.

Position(String)

This method sets the client-side position option.

ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance.
(Inherited from Object)
Render()
(Inherited from WidgetBuilder)
RtlEnabled(Boolean)

This method sets the client-side rtlEnabled option.

RtlEnabled(JS)

This method sets the client-side rtlEnabled option.

Shading(Boolean)

This method sets the client-side shading option.

Shading(JS)

This method sets the client-side shading option.

ShadingColor(JS)

This method sets the client-side shadingColor option.

ShadingColor(String)

This method sets the client-side shadingColor option.

TabIndex(Int32)

This method sets the client-side tabIndex option.

TabIndex(JS)

This method sets the client-side tabIndex option.

ToString()
(Inherited from WidgetBuilder)
ToTemplate()

Renders the control as a template string for use in another control's template.

(Inherited from WidgetBuilder)
Type(ToastType)

This method sets the client-side type option.

Visible(Boolean)

This method sets the client-side visible option.

Visible(JS)

This method sets the client-side visible option.

Width(Double)

This method sets the client-side width option.

Width(JS)

This method sets the client-side width option.

Width(String)

This method sets the client-side width option.

See Also