c# - How Can I Click a ListView Item Programatically? -


is possible? uwp doesn't seem have select() method in winforms. have tried mylistview.selecteditem = mylistview.items[0];, highlights item , not fire itemclick event, like.

solution:

if not mistaken, listview has property called selected index might trick. if select item , manually call method event fires produce same result. think if selected index not work might have manually call method , select item hoping for.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -