PathGradientBrush and Vista Progress Bar

  • Thread starter Thread starter Marcus Müller
  • Start date Start date
M

Marcus Müller

Hi,

I am pretty firm in setting up strange PathGradienBrushes but the progress
bar from windows vista beta simply drives me crazy. Particularily, this
fresh moving white glow...

Hence, has anybody tried to rebuild a vista progress bar with .net or can
give me a clue how the painting can be organized with brushes and paths. I
promise I will publish the code on my website once I got a resonable result
;-).

Many thanks in advance,

Marcus
 
Marcus,

I've just started looking into WPF, but I would think that you could
just paint itself using a drawing primitive (GeometryPath), like a
Rectangle. Then, as the progress increases, you just change the size of the
rectangle.

However, this shouldn't be necessary. You should have access to all of
the children in the control, and be able to drill down and change the brush
which is being used to paint the control. It should be that easy.

Hope this helps.
 
Back
Top