问题描述
如何检测xaml何时完全加载?我知道每个组件都有一个"已加载"的事件,但这对我没有帮助,除非我知道加载的最终组件。 在其他平台上,加载完成时会触发的事件是
在Windows上不是这种情况?
How can I detect when a xaml is completely finished loading? I know each component has a 'loaded' event but that doesn't help me unless I know the final component that loads. On other platforms there are events that fire when loading is complete is this not the case on Windows?
情况是我加载了一堆设置并将它们放入。UI 然后使用这些值进行一堆计算,并将结果放入更多的ui组件中。 我可以加载每个设置,因为每个单独的组件
加载,但计算的值不能这样做。
The situation is that I load a pile of settings and place them into the ui. Then those values are used to do a pile of calculations and the results are placed into more ui components. I could load each setting separate as each individual component loads but the calculated values can't do this.
任何帮助都会很棒。
推荐答案
这篇关于如何检测应用程序何时完全加载。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!