WPF native windows 10 toasts

后端 未结 6 1373
别跟我提以往
别跟我提以往 2021-02-05 14:13

Using .NET WPF and Windows 10, is there a way to push a local toast notification onto the action center using c#? I\'ve only seen people making custom dialogs for that but there

6条回答
  •  攒了一身酷
    2021-02-05 14:36

    UPDATE

    This seems to be working fine on windows 10

    https://msdn.microsoft.com/library/windows/apps/windows.ui.notifications.toastnotificationmanager.aspx

    you will need to add these nugets

    Install-Package WindowsAPICodePack-Core
    Install-Package WindowsAPICodePack-Shell
    

提交回复
热议问题