This may be a no-brainer for the WPF cognoscenti, but I\'d like to know if there\'s a simple way to put text on the WPF ProgressBar. To me, an empty progress bar looks naked. Th
Both of the prior responses (creating a new CustomControl
or an Adorner
) are better practices, but if you just want quick and dirty (or to understand visually how to do it) then this code would work:
My Text
Just keep in mind that the z-index is such that the last item listed will be on top.
Also, if you don't have Kaxaml yet, be sure to pick it up - it is great for playing with XAML when you're trying to figure things out.