Skip to main content

Expiration Property

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.

Definition​

Namespace: Avalonia.Controls.Notifications
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public TimeSpan Expiration { get; set; }

Property Value​

TimeSpan

Implements​

INotification.Expiration

See Also​

Reference​

Notification Class
Avalonia.Controls.Notifications Namespace