PathGradientBrush and Vista Progress Bar

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top