alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class ToastNotification

    Represents a toast notification to be displayed in the AIAssistView.

    Inheritance
    System.Object
    ToastNotification
    Namespace: Syncfusion.Maui.AIAssistView
    Assembly: Syncfusion.Maui.AIAssistView.dll
    Syntax
    public class ToastNotification : Object

    Constructors

    ToastNotification()

    Declaration
    public ToastNotification()

    Properties

    Duration

    Gets or sets the duration (in milliseconds) for which the toast should be displayed.

    Declaration
    public int Duration { get; set; }
    Property Value
    Type Description
    System.Int32

    The default value is 3000 ms.

    Message

    Gets or sets the message to be displayed in the toast.

    Declaration
    public string Message { get; set; }
    Property Value
    Type
    System.String

    Type

    Gets the type of the toast notification.

    Declaration
    public ToastType Type { get; }
    Property Value
    Type
    ToastType
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved