ObservableCollectionCustomersにバインドされている ListBox があります。このための XAML コードは次のとおりです。
<ListBox x:Name="lb_Customers" Height="683" ItemsSource="{Binding Path=Customers, UpdateSourceTrigger=PropertyChanged}">
     <ListBox.ItemTemplate>
          <DataTemplate>
               <Label Margin="0,0,0,0" Padding="0,0,0,0" Content="{Binding Name}" />
          </DataTemplate>
      </ListBox.ItemTemplate>
</ListBox>
MainViewModelこれは、私のクラスのいくつかのコードを指しています:
public ObservableCollection<Customer> Customers
{
    get { return _customers; }
    set
    {
        Set("Customers", ref _customers, value);
        this.RaisePropertyChanged("Customers");
    }
}
このリストボックスで顧客を選択したら、顧客の注文履歴をコンパイルするコードを実行したいと思います。
ただし、DataBinding/CommandBinding を使用してこれを行う方法がわかりません。
私の質問:どこから始めればいいですか?