From 321e67e40088d7f5f02dd190cb17fa8c8d214e95 Mon Sep 17 00:00:00 2001 From: Eveldee Date: Sat, 4 Dec 2021 14:54:21 +0100 Subject: [PATCH] Fix bindings --- ExeLauncher.GUI/AppControl.xaml | 8 +-- ExeLauncher.GUI/AppControl.xaml.cs | 2 - ExeLauncher.GUI/ApplicationModel.cs | 75 +++++++++++++++++++++++++++-- ExeLauncher.GUI/MainWindow.xaml | 2 +- 4 files changed, 75 insertions(+), 12 deletions(-) diff --git a/ExeLauncher.GUI/AppControl.xaml b/ExeLauncher.GUI/AppControl.xaml index cae327a..4996c66 100644 --- a/ExeLauncher.GUI/AppControl.xaml +++ b/ExeLauncher.GUI/AppControl.xaml @@ -5,7 +5,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:ExeLauncher.GUI" mc:Ignorable="d" - DataContext="{Binding RelativeSource={RelativeSource Self}}" + d:DataContext="{d:DesignInstance local:ApplicationModel}" d:DesignHeight="450" d:DesignWidth="800"> @@ -20,15 +20,15 @@ - +