WP7 Silverlight 网格预渲染或类似?
我必须在代码后面对 silverlight 网格进行一些操作。我目前正在 Grid_loaded 事件中执行此操作。这并不理想,因为网格加载然后会随着代码所做的更改而闪烁。这显然是因为操作是在网格加载后完成的。我需要做的操作无法通过数据绑定来完成。
我可以在其他地方放置此代码吗?在 asp .net 中,我会在预渲染中完成它。
有什么建议吗?
谢谢
I have to do some manipulation of a silverlight grid in code behind. I am currently doing this in the Grid_loaded event. This isn't ideal as the grid loads then flashes with the changes made by the code. This is clearly because the manipulation is done after the grid has loaded. The manpulation I need to do cannot be done with databinding.
Is there somewhere else that I can put this code? In asp .net I would do it in a prerender.
Any suggestions?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经进行了数据绑定,因此问题已解决。我绑定到这样的财产......
I've got databinding working so the problem is solved. I am binding on to a property like this...