c# - listView content with directory in windows store app -
c# - listView content with directory in windows store app -
i've problem listview. want display files directory , update when appear new file/files(applicationdata.current.localfolder). how do that?
my method save xml file
public async void executenewfilexml() { var dom = new xmldocument(); xmlelement x; x = dom.createelement("onegoal"); dom.appendchild(x); xmlelement goal = dom.createelement("goal"); xmlelement stepone = dom.createelement("stepone"); goal.innertext = goalofyear; goalstepslist[1] = stepone.innertext; x.appendchild(goal); x.appendchild(stepone); storagefile storagefile = await applicationdata.current.localfolder.createfileasync("goal.xml", creationcollisionoption.generateuniquename); await dom.savetofileasync(storagefile); } i have listview, , want view files path. add together 2 goal, , has possibility in listview.
c# xaml windows-8 mvvm-light
Comments
Post a Comment