From bfeeb10adf8fa52c4f358ecf6c9c7d8f66dbcf37 Mon Sep 17 00:00:00 2001
From: Tim <47110241+timunie@users.noreply.github.com>
Date: Wed, 30 Aug 2023 15:46:57 +0200
Subject: [PATCH] improved help text
---
.../Notifications/WindowNotificationManager.cs | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/Avalonia.Controls/Notifications/WindowNotificationManager.cs b/src/Avalonia.Controls/Notifications/WindowNotificationManager.cs
index cb6a844d32..889e17ba03 100644
--- a/src/Avalonia.Controls/Notifications/WindowNotificationManager.cs
+++ b/src/Avalonia.Controls/Notifications/WindowNotificationManager.cs
@@ -121,7 +121,15 @@ namespace Avalonia.Controls.Notifications
}
}
- ///
+ ///
+ /// Shows a Notification
+ ///
+ /// the content of the notification
+ /// the type of the notification
+ /// 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
+ /// an Action to be run when the notification is clicked
+ /// an Action to be run when the notification is closed
+ /// style classes to apply
public async void Show(object content,
NotificationType type,
TimeSpan? expiration = null,