INotification Interface
Not client implementable.
Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this 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)
- C#
- VB
- F#
[NotClientImplementableAttribute]
public interface INotification
<NotClientImplementableAttribute>
Public Interface INotification
[<NotClientImplementableAttribute>]
type INotification = interface end
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. |