Skip to main content
All docs
V24.2

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

[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.

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