[英]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.