簡體   English   中英

有沒有辦法等到 plot 在 oxyplot 中完全刷新?

[英]Is there a way to wait until the plot has been completely refreshed in oxyplot?

oxyplot 中的圖是使用PlotModel.InvalidatePlot(bool UpdateData)方法更新的,但是有沒有辦法在代碼中執行其他任何操作之前等待刷新過程完成?

我認為這可能會解決您的問題。

lock (MyModel.SyncRoot){
//Code in here will only run after model is refreshing process is complete
}

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM