I discovered very interested issue with XamDataGrid LoadCustomizations method. At start program I initialize XamDataGrid object, bind it to datasource, call LoadCustomizations(), put it into new TabItemEx control and add TabItemEx to XamTabControl.
The problem is very slow perfomance after that. If I will call LoadCustomizations method later (by user click at some button) XamDataGrid perfomance is good. How can I resolve this problem and why LoadCustomizations at first case makes it work bad?
I try to find some binding warnings/errors, but here is no errors/warning.
Thanks for answers and sorry for my bad english.
Hello mindseosoft,
I am really glad that you manage to resolve this issue. If you have any additional questions about this issue please feel free to ask.
Hello. Thanks for answer. I found issue in another piece of my code where I try get LabelPresenter of my grid (but when datasource is empty xamdatagrid doesn't show any column label). I add IF condition where I check datasource count property. It works good. Thanks!
I have been looking through your post and I tried to isolate the behavior that you are referring in a small sample and on my side I am not able to see the slowdown that you are referring. I tested the issue using XamDataGird with 100 000 records and I place it in TabItemEx. Would you please have a look at the attached sample and modify it in order to represent your issue so I can continue my investigation on this matter.
Thanks in advance.