父视图和子视图的Global BusyIndi​​cator [英] Global BusyIndicator for parent View and child Views

查看:64
本文介绍了父视图和子视图的Global BusyIndi​​cator的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个网页中。我有父视图来显示上层内容。子视图或视图显示其余内容。最好的方法是将所有视图组合成一个视图,然后只使用一个忙碌指示器。但由于某种原因,重构代码太重了b $ b。

In one web page. I have the parent View to show the upper content. The child View or Views show the rest of content. The best way is to combine all Views together into one View then using only one busy indicator. But for some reason refactor code is too heavy.

所以现在我在每个View中使用busy指示符,因此它同时显示许多忙指示符。那很难看。我想要的是使用一个忙碌指示器来覆盖整个页面。我尝试了

这种方法。
但是我的情况并不合适,在我的Silverlight应用程序(MVVM)中,我不接触WCF代码。我只是在客户端使用WCF。几天已经粘贴,我仍然没有线索。

So now I use busy indicator in each View, so it has many busy indicators shows simultaneously. That is ugly. What I want is to use one busy indicator to cover the entire page. I tried this method. But it is not fitful my case, in my silverlight application(MVVM), I don't touch WCF code. I just consume WCF on client side. Several days has pasted, I still have no clue.

感谢您的帮助。

推荐答案

嗨ardmore,

Hi ardmore,

请参考以下线程,它有类似的问题,它提供了解决此问题的方法,并在此线程的最后一部分添加了一些代码段分析。希望它可以帮到你。

Please refer to following thread, which has the similar problem and it provide the solution for this issue and add some code snippet analysis in last of this thread. Hope it can help you.

https://social.msdn.microsoft.com/Forums/silverlight/en-US/a94ca288-e45d-408a-8ee4-d6ab602c46a4/global-busyindicator -and-child-windows?forum = silverlightarchieve

最好的问候,

Weiwei

Best Regards,
Weiwei


这篇关于父视图和子视图的Global BusyIndi​​cator的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆