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.
Related
I have been working with victorycharts and it has been very helpful. I have a working chart using the https://formidable.com/open-source/victory/guides/brush-and-zoom/ and the example of having a scatter plot with brush and zoom has been very helpful. I was wondering if there was a way to have the default window scrolling active instead of zooming-on-scroll. I tried using the built in function to deactivate the zoom on scroll, but that just creates a dead zone where nothing happens when the user scrolls.
In summary, I currently have a scatterplot and a brush window that has a mini scatterplot inside of it. Currently I have two options when I scroll inside of the main scatterplot - it either zooms in to a specific part, or nothing happens. What I want is for the scrolling to ignore the scatterplot and be able to scroll inside of the page like normal.
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
Hi everyone I would like to implement an ImageViewer (like the one in Facebook for example) in a WPF application
I already have a ListBox whith my pictures, it works well. But I would like to add pop "image full size" when the user double click on one of them. (something like in FB, with a fade out of the background etc).
Currently I'm thinking of to use a Window...Do you have a better idea of what I should use ?
i would probably use a window for that as well. Then you can easily put an opacity animation when the window loads to give it the fade in and fade out effect
You could also use a Popup control.
It comes with some some built in (but very limited) animations, like fade, see PopupAnimation.
I'd try that and if it doesn't fit your needs, I second bflosabre91 oppionion and would use a separate opacity animated window.
But bear in mind that with an additional window you could have negative side effects e.g always sync the window positions correctly, handle task switches (ie. correctly hide the window in the taskbar/tasklist)
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?
I am working through the above Tutorial from ScottGu located here (http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-6-using-user-controls-to-implement-master-detail-scenarios.aspx) and I am trying to figure how when the UserControl loads, the background page is 'grayed' out like that? Where is that code for that?
I am trying to extract that logic into my own Page / UserControl scenario and when I load the UC, the background is still fully 'visible'. Thanks for any advice!
Under the heading Building a Basic Modal Dialog Using a User Control, Scott's post describes:
"The first control above is configured to stretch to take up all of the available space on the screen. Its background fill color is a somewhat transparent gray (because its Opactity is .765 you can see a little of what is behind it). The second control will then be layered on top of this Rectangle control, and take up a fixed width on the screen."
The Rectangle "grays out" the contents of the screen.