src/FingersDance.ViewModel/CuttingViewModel.cs
changeset 229 05aba5def1fc
parent 192 11083c390ce4
--- a/src/FingersDance.ViewModel/CuttingViewModel.cs	Tue Nov 24 12:57:18 2009 +0100
+++ b/src/FingersDance.ViewModel/CuttingViewModel.cs	Tue Nov 24 22:08:57 2009 +0100
@@ -2,6 +2,7 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
+using System.Windows.Media;
 
 using FingersDance.Data;
 
@@ -81,6 +82,17 @@
                 base.OnPropertyChanged("AnnotList");
             }
         }
+        public Color Color
+        {
+            get { return cut.Color; }
+            set
+            {
+                if (value == cut.Color)
+                    return;
+                cut.Color = value;
+                base.OnPropertyChanged("Title");
+            }
+        }
 
         public void setListFromAnnotations(List<Annotation> annotList, float annotWidth, Double scaleX)
         {