Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Performance of LayoutItem's PreferredSize getter
posted

Our WPF app has an internal diagnostic mode that when enabled, will capture the stack trace of the UI thread whenever it has detected that the UI thread has been "overly busy" for a period of time. Analysis of a customer who is experiencing intermittent momentary UI lockups shows that the UI thread is often in the call stack below:

.

.

at Infragistics.Windows.DataPresenter.CellLayoutItem.GetSize(LayoutItemSize size

at Infragistics.Windows.DataPresenter.LayoutItem.Infragistics.Controls.Layouts.Primitives.ILayoutItem.get_PreferredSize() 

.

.

Any ideas on the improving the performance of this method? Infragistics v12.1.

Parents
No Data
Reply
  • 22015
    posted

    Hello Brian,

     

    Thank you for your post!

     

    I have been looking into your it and it seems that I am missing something from your scenario. Would you please provide me with more detailed information about the functionality you are using? Also would you please provide me with more detailed information regarding the steps that you perform in order to see the UI lock?

     

    Additionally I would suggest updating your application to the latest version of Infragistics control - 15.1, because the performance of the XamDataPresenter has been optimized since version 12.1. Does the issue reproduce with the latest version of the control too?

     

    Looking forward to hearing from you.

Children