문제

I have developed a Silverlight application. It has a button and once it is clicked the application starts doing something which takes time. Since everything in Silverlight is asynchronous the UI is not lagging, however, I would like to add some animation to it or something else to indicate that the application is actually doing some work and that the user should wait.

I don't know how to implement this, neither thread nor XAML wise. What is the best approach to this? Thanks.

도움이 되었습니까?

해결책

Silverlight 4 wait/spinner control

Or if you are using MVVM

Generally Preferred Method for a 'Wait' Screen using MVVM and Silverlight

You can get the busy indicator control out of the Silverlight Toolkit:

http://silverlight.codeplex.com/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top