How to collapse child control in listviewitem UWP
问题 Universal Windows Platform, C# How can I collapse/expand the child listview of item MainListView listitem from code behind? I have not found anything that works. I'd like to do this on the SelectionChanged event. XAML <ListView x:Name="DestListView" SelectionMode="Single" Margin="0,60,0,0" SelectionChanged="listview_SelectionChanged" > <ListView.ItemContainerStyle > <Style TargetType="ListViewItem"> <Setter Property="HorizontalContentAlignment" Value="Stretch" /> <Setter Property=