Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UWP Toast Message not apearing in Windows 11

UWP Toast notification is not displaying(appearing in front) in Windows 11 Beta

But same thing is working on Windows 10

Sample Code:

var toastNotifier = ToastNotificationManager.CreateToastNotifier();

ToastContent  content = new ToastContentBuilder()
                            .AddText(message)
                            .AddAppLogoOverride(new Uri(this.LogoUri))
                            .GetToastContent();

// Create the notification
ToastNotification toast = new ToastNotification(content.GetXml());
toast.ExpirationTime = DateTime.Now.AddSeconds(this.ToastDisplayTime);
toastNotifier.Show(toast);

Is Toast Notification Mechanism updated in windows 11 ?

like image 480
deba Avatar asked Nov 01 '25 05:11

deba


1 Answers

I had this same problem.

It seems Windows 11 has Focus Assist enabled by default. To disable it or configure it, simply look for "Focus Assist" in Windows Settings.

like image 138
Anzurio Avatar answered Nov 04 '25 02:11

Anzurio



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!