Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to create a list view same list wifi of Window 10. When user click to a list item, it will show more information.

I don't know how to show that additional data in Listview Item of UWP app on click one item?

[Before click]

[After click]

What I have tried:

I created a list item but still don't know how to show that additional data in Listview Item of UWP app on clicked
Posted
Updated 31-Jan-17 2:21am
Comments
Kornfeld Eliyahu Peter 3-Jul-16 6:36am    
It may be better (and easier) to follow the UWP guidelines:
https://msdn.microsoft.com/windows/uwp/controls-and-patterns/master-details
https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/XamlListView
Evit15 3-Jul-16 7:34am    
I read these document but now, i need implement list view as question.
Can you help me?

1 solution

You can add or remove the ListView item by ObservableCollection.Make the ListView item source to ObservableCollection that can update when you add or remove the item.

If you want to click the item and the item show more,you can make the Item'content visibility is hide and when you click ,make the content visibility is visibility.

You can use the ListView AllowClick property as TRUE and use the ItemClick even that can get what item clicked.And you can set the item's content visibility is visibility.

If have any understand ,send email to lindexi_gd@163.com.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900