client/src/Iri.Modernisation.Controls/ViewModel/ProductionTimeLine/CustomableIndexElementVM.cs
changeset 27 f292db96b050
parent 20 c2dd8119a6c1
child 36 b6df6fce6e5d
--- a/client/src/Iri.Modernisation.Controls/ViewModel/ProductionTimeLine/CustomableIndexElementVM.cs	Tue Dec 22 16:22:22 2009 +0100
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/ProductionTimeLine/CustomableIndexElementVM.cs	Mon Jan 04 10:29:39 2010 +0100
@@ -77,17 +77,24 @@
             
         }
 
-        private VideoChapterType _chapter;
-        public VideoChapterType Chapter
+        private Color _chapterColor;
+        public Color ChapterColor
         {
             get
             {
-                return _segmentIndex.Chapter.Type;
+                return _chapterColor;
             }
             set
             {
-                _chapter = value;
-                OnPropertyChanged("Chapter");
+                _chapterColor = value;
+                OnPropertyChanged("ChapterColor");
+            }
+        }
+        public SolidColorBrush ChapterSolidColorBrush
+        {
+            get
+            {
+                return new SolidColorBrush(this.ChapterColor);
             }
         }