src/FingersDance.ViewModel/AnnotationViewModel.cs
changeset 192 11083c390ce4
parent 182 25b49d4f1635
child 225 b60e13ed75c8
--- a/src/FingersDance.ViewModel/AnnotationViewModel.cs	Tue Nov 10 13:47:58 2009 +0100
+++ b/src/FingersDance.ViewModel/AnnotationViewModel.cs	Thu Nov 12 16:15:19 2009 +0100
@@ -30,6 +30,17 @@
             this._marginLeft = marginLeft;
         }
 
+        public String Id
+        {
+            get { return a.Id; }
+            set
+            {
+                if (value == a.Id || String.IsNullOrEmpty(value))
+                    return;
+                a.Id = value;
+                base.OnPropertyChanged("Id");
+            }
+        }
         public float TcBegin
         {
             get { return a.TcBegin; }