We can put a panel inside the listview(xcustomlistview) as cell item. The panel may contain controls, eg. button, label, etc. We use this panel and the controls therein many times. My question is, how can we refer to them individually?
In case, the question is confusing, let me illustrate.
+----------------------------+
| label1 label2 | <---------- a panel with two labels
+----------------------------+
+----------------------------+
| the panel as list item | label2.text = "dog"
+----------------------------+
| the panel is used again | label2.text = "cat"
+----------------------------+
| the panel used 3rd time | label2.text = "mouse"
+----------------------------+
Now, I will go to label1_click and say, I do like this:
If I click label1 of the three items, I always get the value of label2 of the third listitem and that is "mouse". How can I refer to individual labels and get their specific/individual values or properties