INotification Interface

Represents a notification that can be shown in a window or by the host operating system.

Definition

Namespace: Avalonia.Controls.Notifications
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
[NotClientImplementableAttribute]
public interface INotification

Properties

Expiration Gets the expiration time of the notification after which it will automatically close. If the value is Zero then the notification will remain open until the user closes it.
Message Gets the notification message.
OnClick Gets an Action to be run when the notification is clicked.
OnClose Gets an Action to be run when the notification is closed.
Title Gets the Title of the notification.
Type Gets the NotificationType of the notification.

See Also