Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxToast Members

A pop-up notification message.

#Constructors

Name Description
DxToast() Initializes a new instance of the DxToast class.

#Properties

Name Description
ChildContent
CssClass Assigns a CSS class to the toast notification.
DisplayTime Specifies how long the toast is visible.
FreezeOnClick Specifies whether to turn off auto-hide for the toast after it has been clicked.
IconCssClass Specifies the name of the CSS class applied to the toast notification icon.
Id Specifies the toast’s unique identifier.
MaxHeight Limits the maximum height of the toast notification.
ProviderName The name of a provider that will display the notification.
RenderStyle Specifies the toast’s predefined style.
ShowCloseButton Specifies whether the toast displays the Close button.
ShowIcon Specifies whether to show an icon in the toast notification.
SizeMode Specifies the size of the component and its content.
Template Specifies the template displayed in the toast notification.
Text Specifies the toast’s text.
ThemeMode Specifies the toast’s predefined color filling mode.
Title Specifies the toast notification title.

#Methods
Show Inherited Hide Inherited

Name Description
Close() Closes the toast notification.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Show() Shows the toast notification.
ToString() Returns a string that represents the current object. Inherited from Object.

#Events

Name Description
Click Fires when a user clicks the toast notification.
See Also