Hi I have created a listview through xaml file and have added items to it. How to add subitems to that list view? I am not getting subitems property. Pls help me
This is my code for Listview creation.
<ListView Height="228" HorizontalAlignment="Left" Margin="284,79,0,0" Name="lsvAnalysts" VerticalAlignment="Top" Width="381" SelectionChanged="lsvAnalysts_SelectionChanged"/>
This is my code for adding items to it
Edited 8-Nov-12 0:16am
ListViewItem item = new ListViewItem();
item.Subitems.Add or if it is a collection you can get Item[index].Subitems.add
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)