src/FingersDance.ViewModel/CuttingViewModel.cs
changeset 55 1ec0ef228158
child 69 a4c44555f205
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.ViewModel/CuttingViewModel.cs	Tue Sep 15 13:30:58 2009 +0200
@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace FingersDance.ViewModel
+{
+    class CuttingViewModel : ViewModelBase
+    {
+        private string _title;
+        private List<AnnotationViewModel> _annotList = new List<AnnotationViewModel>();
+        
+        public String Title
+        {
+            get { return _title; }
+            set
+            {
+                if (value == _title || String.IsNullOrEmpty(value))
+                    return;
+                _title = value;
+                base.OnPropertyChanged("Title");
+            }
+        }
+        public List<AnnotationViewModel> AnnotList
+        {
+            get { return _annotList; }
+            set
+            {
+                _annotList = value;
+                base.OnPropertyChanged("AnnotList");
+            }
+        }
+    }
+}