assuming i got this main window xmal:
<Window x:Class="MVVMTUTRIALS.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:views="clr-namespace:TestMvvm444.Views"
Title="Window1" Height="300" Width="400" Loaded="Window_Loaded">
<Grid>
<views:CustomersList x:Name="CustomersList"/>
<views:CustomerBoughtList x:Name="CustomerBoughtList"/>
</Grid>
</Window>
and i want an event which take a rule in CustomersList (clicking on cerrtian raw) to invoke the CustomerBoughtList(show all this customer purchase ) to do somthing so my q are :
1.where should the event be ? it's reasonable to think in the main window?
2.can someone please guide me what to do ?
i think the core of my misunderstanding is how does tow UserControl(s) comunicate with each other and with the view model
thanku foe reading and making notes.