c# - ListView Item index -


how can doubleclicked item (index) listview?

 private void listviewmodels_mousedoubleclick(object sender, mouseeventargs e)  {       //this line doesn't work       int = listviewmodels.selecteditem ();                    string mdl_path=getcurrentitempath(i); } 

selecteditem isn't function, try

listviewitem item = listviewmodels.selecteditems[0]; 

Comments

Popular posts from this blog

c# - Is it possible to remove an existing registration from Autofac container builder? -

asp.net - RadAsyncUpload in code behind, how to? -