diff --git a/MVVMwithWPF/MVVMwithWPF/App.xaml b/MVVMwithWPF/MVVMwithWPF/App.xaml
index bf6eae3..ed413cd 100644
--- a/MVVMwithWPF/MVVMwithWPF/App.xaml
+++ b/MVVMwithWPF/MVVMwithWPF/App.xaml
@@ -2,6 +2,6 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:MVVMwithWPF"
- StartupUri="/Views/BindingSampleWindow.xaml">
+ StartupUri="/Views/BindingSampleWithoutViewModelWindow.xaml">
diff --git a/MVVMwithWPF/MVVMwithWPF/AttachedProperties/MessageExt.cs b/MVVMwithWPF/MVVMwithWPF/AttachedProperties/MessageExt.cs
new file mode 100644
index 0000000..8ab584a
--- /dev/null
+++ b/MVVMwithWPF/MVVMwithWPF/AttachedProperties/MessageExt.cs
@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace MVVMwithWPF.AttachedProperties
+{
+ internal class MessageExt
+ {
+ public static string GetMessage(DependencyObject obj)
+ {
+ return (string)obj.GetValue(MessageProperty);
+ }
+
+ public static void SetMessage(DependencyObject obj, string value)
+ {
+ obj.SetValue(MessageProperty, value);
+ }
+
+ public static readonly DependencyProperty MessageProperty = DependencyProperty.RegisterAttached("Message", typeof(string), typeof(MessageExt), new PropertyMetadata(null));
+ }
+}
diff --git a/MVVMwithWPF/MVVMwithWPF/Views/BindingSampleWithoutViewModelWindow.xaml b/MVVMwithWPF/MVVMwithWPF/Views/BindingSampleWithoutViewModelWindow.xaml
new file mode 100644
index 0000000..0dcff86
--- /dev/null
+++ b/MVVMwithWPF/MVVMwithWPF/Views/BindingSampleWithoutViewModelWindow.xaml
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MVVMwithWPF/MVVMwithWPF/Views/BindingSampleWithoutViewModelWindow.xaml.cs b/MVVMwithWPF/MVVMwithWPF/Views/BindingSampleWithoutViewModelWindow.xaml.cs
new file mode 100644
index 0000000..fd39521
--- /dev/null
+++ b/MVVMwithWPF/MVVMwithWPF/Views/BindingSampleWithoutViewModelWindow.xaml.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace MVVMwithWPF.Views
+{
+ ///
+ /// BindingSampleWithoutViewModelWindow.xaml에 대한 상호 작용 논리
+ ///
+ public partial class BindingSampleWithoutViewModelWindow : Window
+ {
+ public BindingSampleWithoutViewModelWindow()
+ {
+ InitializeComponent();
+ }
+ }
+}