Layout cycle detected. Layout could not complete. Layout cycle detected. Layout could not complete

前端 未结 2 854
攒了一身酷
攒了一身酷 2021-01-16 12:24

I know there are some questions with same head line, but I couldn\'t find any answer that worked for me.

Got in Xml file triple ListBox , which was built from 3 inne

2条回答
  •  无人及你
    2021-01-16 13:00

    I used the ListBox built-in ScrollViewer instead of ScrollViewer layout and it seems to fix the bug.

    
    

    Performance still not good for more than 50 objects, but this is better than exception. When using ListView instead of ListBox performance is better but the built-in ScrollViewer is not shown. So I don't mark this answer as acceptable.

    The ListView version:

提交回复
热议问题