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.FreezeOnClick Property

Specifies whether to turn off auto-hide for the toast after it has been clicked.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(false)]
[Parameter]
public bool FreezeOnClick { get; set; }

#Property Value

Type Default Description
Boolean false

true to freeze the toast on click; otherwise, false.

#Remarks

A toast notification automatically disappears after the period specified by DisplayTime. Set the FreezeOnClick property to true to allow users to freeze a toast notification (prevent it from disappearing) with a click.

razor
<DxToast @ref=toast Title="Notification" Text="The process is completed." FreezeOnClick="true" />
See Also