Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6542387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:13:16+00:00 2026-05-25T11:13:16+00:00

EDIT: I solved my issue…take a look at my answer. Correct if it’s wrong.

  • 0

EDIT: I solved my issue…take a look at my answer. Correct if it’s wrong. Thanks.

Question: For some reason it seems that the progress bar in a WPF app isn’t showing the color I require.

Here’s the XAML code:

<Window x:Class="TaskbarProgressApp.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Window.TaskbarItemInfo>
        <TaskbarItemInfo />
    </Window.TaskbarItemInfo>
    <Grid>
        <ProgressBar x:Name="ProgressBar"
                     Margin="10"
                     HorizontalAlignment="Stretch"
                     VerticalAlignment="Center"
                     Height="23" Background="{x:Null}" Foreground="DarkRed">
        </ProgressBar>
    </Grid>
</Window>

Here’s the result:

enter image description here

Doesn’t look like Dark Red to me…happens to every color 🙁

Any thoughts ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:13:16+00:00Added an answer on May 25, 2026 at 11:13 am

    Thanks to @Merlyn Morgan-Graham and @CharithJ for pointing out the other question, I thought it was a different one when I read it.

    I solved the problem and I wanted to share it.

    I downloaded the Trial of MS Expression Blend and changed:

    <Trigger Property="IsIndeterminate" Value="false">
        <Setter Property="Background" TargetName="Animation" Value="#80B5FFA9"/>
    </Trigger>
    

    To

    <Trigger Property="IsIndeterminate" Value="false">
        <Setter Property="Background" TargetName="Animation" Value="#00000000"/>
    </Trigger>
    

    This gives the colors as they are:

    Dark Red:

    enter image description here

    Even this works

    <Trigger Property="IsIndeterminate" Value="true">
        <Setter Property="Background" TargetName="Animation" Value="#80B5FFA9"/>
    </Trigger>
    

    Doesn’t change the progress bar but the colors are as they should be.

    It’s sad that there is no option to change it directly.

    Thanks for the help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

edit #2: Question solved halfways. Look below As a follow-up question, does anyone know
UPDATE: Solved. Thanks BusyMark! EDIT: This is revised based on the answer below from
Edit: I have solved this by myself. See my answer below I have set
Edit: From another question I provided an answer that has links to a lot
edit - I solved my add friend button issue, now I'm trying to get
EDIT I solved the issue by forking the process instead of using threads. From
EDIT: Issue solved, answered it below. Lame error. Blah So I upgraded to Django
--The anonymous answer is my answer that I solved this issue with.-- I have
Edit : Solved, there was a trigger with a loop on the table (read
Edit: Solved. Hi, I'm starting with Qt, I try to connect a slot to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.