WPF UI Automation issue

前端 未结 2 2135
傲寒
傲寒 2020-12-17 05:11

This Thread belong to this

I am asking where do I need to insert the workaround from this

I have a WPF application which has performance issue on some client

2条回答
  •  萌比男神i
    2020-12-17 05:31

    I have been working on an application that has been fine on virtually everything but the WPF Controls were slow on certain laptops (Lenovo). It was lagging and freezing and generally inhibiting use.

    I did the following:

    1. Implemented the code above: Improved it, but did not fix.
    2. Downloaded Hotfix - - http://archive.msdn.microsoft.com/KB978520 (may not be required)
    3. Downloaded Hotfix - - http://archive.msdn.microsoft.com/KB2484841 (definitely required even if you have Windows 7 / .NET 4)
    4. Improved the code further (the validation was causing an excess of objects) - Why does WPF Style to show validation errors in ToolTip work for a TextBox but fails for a ComboBox?

    It may be that only Number 3 was required, but it worked. Just posting here so people dont lose the days I lost in memory profilers etc.

提交回复
热议问题