Ejemplo n.º 1
0
        private void DeleteDetailButton_Click(object sender, RoutedEventArgs e)
        {
            var detail = (OrderDetailViewModel)detailDataGrid.SelectedItem;

            if (detail != null)
            {
                vm.RemoveDetail(detail);
            }
        }