From b4d1616753e67fe0015bf1062097df5a0d782164 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Tue, 11 Aug 2020 23:23:13 +0800 Subject: [PATCH] add NotifyIcon and Notification docs --- .../extend_controls/notification/index.md | 53 ++++++++++++++++++- .../extend_controls/notifyIcon/index.md | 47 +++++++++++++++- .../UserControl/Main/AppNotification.xaml | 16 +++--- 3 files changed, 105 insertions(+), 11 deletions(-) diff --git a/doc/source/handycontrol/extend_controls/notification/index.md b/doc/source/handycontrol/extend_controls/notification/index.md index 92b4119e..bee3b66e 100644 --- a/doc/source/handycontrol/extend_controls/notification/index.md +++ b/doc/source/handycontrol/extend_controls/notification/index.md @@ -1,3 +1,54 @@ --- -title: Notification +title: Notification 桌面通知 --- + +用于在桌面显示一则富内容消息. + +```cs +public sealed class Notification : System.Windows.Window +``` + +# 方法 + +|名称|说明| +|-|-| +| Show(object, ShowAnimation, bool) | 显示桌面通知(消息内容, 动画效果类型, 是否保持打开) | + +# 案例 + +```xml + + + + +