-1

I'm developing an UWP App with UNO / WinUI 3. I have put images into the Images folder in the UWP project and the application icon is shown in the taskbar as well as application icon at the exe-file.

But unfortunately the App Icon is not shown in Window App Bar although I set the application icon for the UWP app.

Also the title in the app bar is always 'WinUI Desktop' although I set the Display Name in the App Manifest.

Window App Bar

Please tell me, how can I bringt the app icon to be shown in the app bar and set the window title.

Tom
  • 89
  • 6

1 Answers1

0

There is no icon property or method from the Window Class. The solution is to use the Win32 APIs - WM_SETICON using PInvoke.

You might need to refer to @marb2000's reply from github link: How to change the Window Icon in WinUI Desktop

Roy Li - MSFT
  • 8,043
  • 1
  • 7
  • 13