Progress bar invisible bar #15748
Unanswered
CosminCAS123
asked this question in
Q&A
Replies: 1 comment 7 replies
-
You should update the value from the UI thread. Docs: https://docs.avaloniaui.net/docs/guides/development-guides/accessing-the-ui-thread. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If i simply set the value of the progress bar XAML, it works well:
But, when I try to increment it from the MVVM, it will just stay invisible.
I'm incrementing 1% each 30 milliseconds, so that in 3 seconds the bar finishes.
The progress text works, it goes from 0% to 100%, but the bar just doesn't show up anymore. This is the code:
As I said, the binding works since the progress text updates, but the red bar isn't appearing. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions