随笔分类 -  WPF Performance

摘要:转自WPFtutorial,很好的WPF专题网站WPF Performance TipsWindows Presentation Foundation provides a very confortable way to develop rich user experiences. A drop shadow for example can added by inserting two simple lines of XML. But this simplicity can also mislead us to overuse them. This leads to performance i 阅读全文
posted @ 2011-09-02 18:42 孤狼晖 阅读(1892) 评论(2) 推荐(3) 编辑
摘要:Reduce unnecessary invocations of the layout pass -- update a Transform rather than replacing itUse the most efficient Panel where possible -- don't use Grid if you need is CanvasUse Drawing which are cheaper than Shape objectsUse StreamGeometry, which is a light-weight alternative to PathGeomet 阅读全文
posted @ 2011-08-12 11:31 孤狼晖 阅读(658) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示