Back to Devexpress

DxToast.FreezeOnClick Property

blazor-devexpress-dot-blazor-dot-dxtoast-9d1e3c99.md

latest1.3 KB
Original Source

DxToast.FreezeOnClick Property

Allows users to prevent a toast notification from disappearing with a click.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(false)]
[Parameter]
public bool? FreezeOnClick { get; set; }

Property Value

TypeDefaultDescription
Nullable<Boolean>false

true to allow users to freeze a toast notification.

|

Remarks

A toast notification automatically disappears after the period specified by DisplayTime. Specify the FreezeOnClick property 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

DxToast Class

DxToast Members

DevExpress.Blazor Namespace