You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like this worked in 2.1.0 and broke in 3.0.0. I think this change was (sort of) intentional. In 2.x, Icon is an ImageSource, which is why you can directly assign a URL. In 3.0 and beyond, it's an IconElement, which is intended for things like Icon="{ui:SymbolIcon Symbol=Star24}".
@pomianowski do we want IconElementConverter to support taking a URL that will get passed to ImageSource instead?
Describe the bug
For me the Icon of the TitleBar is not shown when running the latest MVVM sample project.
I had to adjust the code from this:
To this:
To make it work.
Does the samples need to be adjusted or am I doing something wrong?
Thanks in advance!
Regards,
Manuel
To Reproduce
Build and run the latest MVVM sample project.
Expected behavior
The window of the MVVM sample project displays the application icon in the title bar.
Screenshots
No response
OS version
Windows 10
.NET version
net8.0-windows
WPF-UI NuGet version
4.0.0
Additional context
No response
The text was updated successfully, but these errors were encountered: