views:

254

answers:

1

How can I display an animated progress bar within the contents of a cell of a datagrid, with text in the foreground.

For instance, I want to display "Uploading..." and have the progress animated behind it.

+2  A: 

Have you tried putting both a TextBlock and ProgressBar inside a grid, so that the TextBlock appears over the progress bar.

Like so:

<Grid>
    <ProgressBar />
    <TextBlock Text="Uploading..." />
</Grid>
Ray