When working with ListViews you sometimes want to access the properties of an item in ListView. And here’s how you do it!
The example above assumes that delegates are perfectly lined with the same indexes. ListView or GridView can create additional items that are not related to
your delegate, so the safe way to do this would be to give your delegate a unique name in ListView so that you can use the following code to get the delegate
with name rather than index.