-
-
Notifications
You must be signed in to change notification settings - Fork 521
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 change Fluent.Button Icon Dynamically #201
Comments
As I don't have all your code I would guess that your button is not found by the tag you search for. |
That's strange. |
Yes i try. |
I think you misunderstood what I want you to try.
And tell me if the icon changes. Background is not bound in the style so changing it has no effect. The original developers of this library never took that into account and I never needed it to be changeable. |
i uploaded sample app. |
Ok, i can reproduce it.
If you remove the assignment of btn.Icon and just leave btn.LargeIcon it works, but only for one button... Everything works fine when you change your code to:
Please don't ask me why using "new BitmapImage" for the same Uri causes such an issue. |
Ok, it seems like there is some caching going on in WPF internally. |
Button Icon is not change why???
The text was updated successfully, but these errors were encountered: