question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update color of ProgressBar's error state

See original GitHub issue

Describe the bug

Design has specified that the error state of (determinate) ProgressBar should use the red error color: image

Setting the foreground to SystemControlErrorTextForegroundBrush will provide the correct theming behavior.

Additional context

Details about indeterminate ProgressBar’s appearance are still pending.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
chingucodingcommented, Aug 25, 2020

Alright, I’ll work on this!

1reaction
mdtaukcommented, Dec 16, 2019

In Win32 guidance, Paused is shown to have a Yellow colour.

Will this Red colour be the same colour used for validation (which becomes yellow in dark mode) or match the Red colour used for Status Icons/Badges?

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Progress bar not changing state (color) when message box ...
Interesting, I had progressBar.Maximum = 1 . When I changed this to progressBar. · Try: progressBar.Refresh(); just before showing the MessageBox ...
Read more >
How to change the progress bar color?
However, the Aero-style progress bar does have three different states: normal, paused, and error. In the normal state, it is filled with green....
Read more >
Progress Bar API Tricks - Marquee, State Color, Reverse
What you can do is change via the API is change the State to Error that shows Red or Paused that colors it...
Read more >
How to Conditionally format the color of the progress bar
I've found that I can modify all bars by setting the following css: .k-progressbar .k-state-selected {. background-color:green; }.
Read more >
ProgressBar Class (Microsoft.UI.Xaml.Controls) - WinUI
Gets or sets a value that indicates whether the progress bar should use visual states that communicate an Error state to the user....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found