Skip to main content
All docs
V25.1
  • DxToast.FreezeOnClick Property

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

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

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

    Property Value

    Type Default Description
    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.

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