views:

68

answers:

1

Hi All,

I want to remove the spaces between the blocks showing the progress. I need it to be solid.

Code:

<ProgressBar Name="probar"  Minimum="0" Height="40"  BorderThickness="0"/>

Geetha

+1  A: 

You need to redefine the template of the ProgressBar. Fortunately, it's not very complex... The simplest way is to extract the template with a tool like Style Snooper, the BAML Viewer Reflector Add-in, or Show Me The Template, and change the part that defines the background.

Thomas Levesque