I have created an expander view in my app.I have around 5k subitems for a header.The app gets crashed when the header is expanded.To just verify this, I have tried to display 500 subitems,it worked but took time to get expanded.Kindly help me if I can display 5K records with the help of expander view without taking time.My code is:
IsNonExpandable="{Binding HasNoOptions}" IsExpanded="{Binding IsExpanded, Mode=TwoWay}" HeaderTemplate="{StaticResource CustomHeaderTemplate}" ExpanderTemplate="{StaticResource CustomExpanderTemplate}"
ItemTemplate="{StaticResource CustomItemTemplate}" NonExpandableHeaderTemplate="{StaticResource CustomNonExpandableHeaderTemplate}" Style="{StaticResource ExpanderViewStyle1}" />
this.orderList.ItemsSource = myList;
Replies
Know the answer? Post it — somebody with the same question will find it here.