So I have a UserControl that contains a ListView and a Button. I have included my UserControl in Window1.xaml, but I don’t know what do I have to do so I can access my ListView control in Window1.xaml.cs .
What else should I need to do ? What is the best aproach here ?
That is not something you should be doing, instead create properties on the UserControl which the internals are bound to, then you have a clean interface.
e.g.