2011-01-19 93 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