-
Notifications
You must be signed in to change notification settings - Fork 711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use PathIconSource for TabViewItem.IconSource #2495
Comments
To be sure, does this same PathIconSource work outside of a Tabview, like in a grid? |
yes it does work outside of a Tabview.. in my case it works fine in |
I would like to look into this. |
I think I found the issue, the |
While not ideal, I think the "clearing" approach might be the best here given that it can not be shared anyway. If we are not choosing that approach, I would open a PR to at least catch PathIcons and skip them to not cause crashes. |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Just ran into this. Is there a workaround I can use to get it working? This shouldn't be closed, it's still a problem. |
When I use
SymbolIconSource
orFontIconSource
forTabViewItem.IconSource
, the application is happy.. but when I usePathIconSource
for example:<MUXC:TabViewItem Header="Bookmarks" IsClosable="False"> <MUXC:TabViewItem.IconSource> <MUXC:PathIconSource Data="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"/> </MUXC:TabViewItem.IconSource> </MUXC:TabViewItem>
then I got an exception: "The parameter is incorrect.\r\n\r\nThe parameter is incorrect.\r\n" System.Exception {System.ArgumentException}
Version Info
NuGet package version:
[Microsoft.UI.Xaml 2.4.2]
The text was updated successfully, but these errors were encountered: