locked
Editing the listview item RRS feed

  • Question

  • I am developing a file explorer and I am showing the files/folders as Listview.

    Now I would like to rename these files which are part of the listview.

    Is there any way I can rename the listview items.


    recieved alert

    Monday, October 21, 2013 10:19 AM

Answers

All replies

  • Can you share more information on how the data is in the list view and the type of user experience you are after? Are you binding something to ItemsSource on ListView, and want to edit one item, and have it update the Source data? 

    Bret Bentzinger (MSFT) @awehellyeah

    Monday, October 21, 2013 7:08 PM
    Moderator
  • Hi Bret,

    Thanks for your reply. The user experience is whenever the user single clicks on the listview item it should be an editbox and the user should be able to edit it. Yes I want to edit one item and it is bound some data to Itemsource and would like to update the source data.


    recieved alert

    Tuesday, October 22, 2013 4:30 AM
  • This would require customizing the built in ListView and ListViewItem to accomplish the functionality you are looking for. I would check out Adding and Styling Controls to get started.

    Bret Bentzinger (MSFT) @awehellyeah

    Wednesday, October 23, 2013 5:23 PM
    Moderator