From 86e442319d378db50e2aad0299b8eca6a2cea7cb Mon Sep 17 00:00:00 2001 From: DJh2o2 Date: Wed, 23 Mar 2022 09:53:46 +0100 Subject: [PATCH] Debugging of SelectedLineItem --- Gremlin/MVVM/ViewModels/QuoteViewModel.cs | 2 +- Gremlin/MVVM/Views/QuoteView.xaml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Gremlin/MVVM/ViewModels/QuoteViewModel.cs b/Gremlin/MVVM/ViewModels/QuoteViewModel.cs index 6c0bb78..71fb83d 100644 --- a/Gremlin/MVVM/ViewModels/QuoteViewModel.cs +++ b/Gremlin/MVVM/ViewModels/QuoteViewModel.cs @@ -89,7 +89,7 @@ namespace Gremlin.MVVM private void DebugSelectedLineItem() { - Debug.WriteLine($"{SelectedLineItem.ProductNumber}#{SelectedLineItem.OptionNumber}:\n{SelectedLineItem.CustomDescriptionVM.Heading}\n{SelectedLineItem.CustomDescriptionVM.DescriptionText}"); + Debug.WriteLine($"Ausgewähltes LineItem: {SelectedLineItem.ProductNumber}#{SelectedLineItem.OptionNumber}: {SelectedLineItem.CustomDescriptionVM.Heading} ({SelectedLineItem.CustomDescriptionVM.DescriptionText})"); } public bool ReadLineItems() diff --git a/Gremlin/MVVM/Views/QuoteView.xaml b/Gremlin/MVVM/Views/QuoteView.xaml index 6d4cffd..0c848ca 100644 --- a/Gremlin/MVVM/Views/QuoteView.xaml +++ b/Gremlin/MVVM/Views/QuoteView.xaml @@ -1,6 +1,8 @@  + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:cal="http://www.caliburnproject.org" + xmlns:local="clr-namespace:Gremlin.MVVM">