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

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

    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
    Boolean false

    true to freeze a 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.

    <DxToastProvider DisplayTime="@TimeSpan.FromSeconds(20)" FreezeOnClick="true" />
    
    See Also