How to fill the ListBox correctly so that you can adequately retrieve its items.
For example, if you add elements in this way (which I will describe below), they cannot be adequately extracted, I mean the name of the item. In the case that I wrote below, with the selectitem property, it records not what is needed, but only the name of the item is needed.
<ListBox Name="lb1" > <TextBlock>xxx</TextBlock> <TextBlock>zzz</TextBlock> </ListBox>