wpf progress bar animation not visible - wpf

I have problem with my app. I want to add simple progress bar, in designer looks normal, but when I start app, progress bar is empty inside
my code is simple:
<ProgressBar Name="pbarStatus" Height="55" Value="50" IsIndeterminate="True"/>
When I just setIsIndeterminate=False then there is only green border with white field inside
I cant send pic (no 10 reputation)...
In new project it works fine, so problem is only with my. Can someone help me where I can find problem?
EDIT
my behaviour IsIndeterminate=True Link
my behaviour IsIndeterminate=False Link
EDIT 2
Thanks, but minimum and maximum I left default (0 and 100) in visual studio in designer progress bar looks as it should (also even when I change value in designer mode), but when I press F5 button (debug) and I start app, progress bar looks as on pictures (is empty or just green border instead animation). It looks like I'm lost animation somehow...
Regards
Andrzej

Related

Full Screen Image with Transparent System Tray

The Search Page in Windows Phone 7 (Bing search) is lovely; uses the entire area for a nice piccy. The system bar is transparent but the icons are still there.
I can't seem to reproduce this effect.
If I set an image on the LayoutRoot it only goes up to the bottom of the system tray.
If I hide the system tray, it is always hidden.
If I make the system tray background transparent, I can see the dark/light theme colour (black or white) through it, which looks terrible with the image background in LayoutRoot.
If I try and set the Background of phone:PhoneApplicationPage nothing happens. I tried styling this but couldn't make it work.
I'd be grateful if a Windows Phone 7 guru could help me out here.
Try this:
Set the d:DesignHeight="800" and Background="Transparent" for the <phone:PhoneApplicationPage >
Then for the ApplicationBar,
Set Mode="Minimized" BackgroundColor="Transparent"
Almost similar to the one in Bing Search page, but still a little area at the bottom I couldn't cover.

Flood fill text based on a percentage in silverlight splash screen

I want to create a custom splash screen where some text on the page will end up being the progress bar. I need the text to flood fill with color from left to right based on the % loaded. My first thought (since I'm not use to doing this type of UI related stuff) was to have a textblock with the forecolor being trasparent layered over something like a border with its backcolor set and then grow the border control based on the %, but this is such a hack, there has to be something better with all the wonderful things silverlight can do. I had also thought about using a image so I could outline the text, but noticed the image was slow and was the last thing to load on my splash screen.
Any ideas on the right way to acomplish this?

Why is my WPF Frame not rendering anything? Known bug?

I have a WPF Frame with a web-based HTML source and though the contents are there, they aren't showing up. I know that the content is there because if I right click in just the right spot I can save images. Also, if I do print preview it shows just fine. The stuff is there, but it isn't showing up. Is there a known bug?
I used code from here to create a placeholder control with a window that floats right above it, so I could put the frame in the window. Its a hack but it works... sigh.

WPF animated splash screen

Is it possible to show a splash screen in WPF that has animation. I want my name of the company and the name of the application to fly in and a progress bar that continously animates. I Used this example
http://blogs.lessthandot.com/index.php/DesktopDev/MSTech/wpf-and-the-splashscreen
to try and get me started but the progress bar doesnt animate?
Also I do have on the progress bar the following property set. IsIndeterminate="True"
I am using vb.net.
Thanks,
spafa9
See my answer at the bottom of this question: Multi-threaded splash screen in C#?
This is in C#, but it does work with an animated indeterminate progress bar.

WPF: Progress bar with indeterminent duration?

In WinForms you could set a progress bar to loop endlessly to indicate that you don't know how long it will take. How would I do that in WPF?
<ProgressBar IsIndeterminate="True" />
I personally like the approach Visual Studio 2010 takes. They use an animation of a small, looping series of dots (with varying intensity). They just animate the dots circling in the center of the window in question.
In WPF, this is trivial - just animate a rotation of a small drawing of a circle of dots with the opacity set correctly up front.
I find it very intuitive, small, and unintrusive.
Is a progress bar the right widget for this? You are unable to indicate a % complete, since you "don't know how long it will take". Maybe an animation of some sort (like the Windows files-disappearing-into-thin-air-while-deleting effect) to show that activity is still going on would be better. But a "progress" bar that simply resets to zero because there is still more work to do just looks dumb to me.

Resources