Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4028
UltraProgressBar - customising appearance in ultralistview
posted

I have an UltraListView control, in which I display two columns (or subitems) which contain an UltraProgressBar. For the most part, it works fine, but I want to extend the functionality a bit, in two ways:

1) I want to change the colour (or background image), so it is obvious which is which at a glance. I'm using an app style, and changing the appearance has proven to be problematic. I can make the bar (in the progress  bar) disappear, by using:
progBar.FillAppearance.ImageBackgroundAlpha = Alpha.Transparent;
but for the life of me I cant get a different color or image to appear there. Would I need to use a draw filter for this?

2) I also want to customise the text in the progress bar, so rather than saying something like "20%", it says "20% (5/25)". As the whole listview column shares the one progress bar control, applying the text to the progress bar changes the whole column.

If anyone could suggest an answer to either of my queries, I would be much appreciated.

Parents Reply Children
No Data