Is it possible to make the progress bar in silverlight tri color? i.e red for % error green for % Success/Completed and grey for remaining.
Many开发者_开发技巧 thanks, Jane
not possible with a progress bar, try creating your own control.
The link below is another example of changing the color of a ProgressBar element. Note though that this is the ProgressBar, not the BusyIndicator which does not allow color change (in case that's what you were using). They are otherwise virtually interchangeable.
http://www.silverlightshow.net/items/The-ProgressBar-control-in-Silverlight-2.aspx
To do tri-color you just need to change the foreground color on the fly as your criteria changes.
精彩评论