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

    Specifies the toast’s text.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [DefaultValue(null)]
    [Parameter]
    public string Text { get; set; }

    Property Value

    Type Default Description
    String null

    Toast text.

    Remarks

    Use the Text property to specify the text displayed in the toast notification.

    <style>
        .italic-text {
            font-style: italic;
            text-align: center;
        }
    </style>
    
    <DxToast @ref=toastButtons
             Title="Notification"
             Text="The process is completed."
             ShowIcon="false"
             CssClass="italic-text"
             ThemeMode="ToastThemeMode.Pastel"
             ShowCloseButton="false" />
    

    Customized toast notification

    See Also