2011-01-19 92 views

回答

1

Read this article它表明你有目前的得到通知的渲染结束的,而是没有官方途径向您展示一个可以使用的技巧。

1

我不haev一个妥善的解决办法给你,但你可以做下面的技巧在加载事件:

Dispatcher.BeginInvoke(new Action(delegate {  
     // here you are pretty shure that all rendering is done     
     // Put in your code here 
     }), System.Windows.Threading.DispatcherPriority.ContextIdle, null); 

也许这也将与DispatcherPriority.Background工作,检查出来。

+0

谢谢HCL我今晚会试试看,让你知道 – 2011-01-21 01:00:35