# Wpf : help for a progress bar

**URL:** <https://forum.kirupa.com/t/wpf-help-for-a-progress-bar/318255>\
**Category:** Uncategorized\
**Created:** [January 14, 2011, 4:02pm UTC](https://forum.kirupa.com/t/wpf-help-for-a-progress-bar/318255 "2011-01-14T16:02:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roshini](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@roshini](https://forum.kirupa.com/u/roshini)\
**Post date:** [January 14, 2011, 4:02pm UTC](https://forum.kirupa.com/t/wpf-help-for-a-progress-bar/318255/1 "2011-01-14T16:02:53Z")

</div>

Hey,

i have to build a progress bar in wpf and change its behavior…  
i.e. I need to make its size increase with the change in value… also i want to apply a gradient to the color in the bar… or maybe change opacity…  
for eg if the value is between 1 - 20 on a scale of 1 to 100 the color should be transparent but increase the color intensity as the value it reads increases! I am new to wpf and still stuck at reading the values from a log file for a simple progress bar… could some one help me step by step so that I can learn how to change behaviors in wpf??

thanks a lot
