client/src/Iri.Modernisation.Controls/ViewModel/ProductionTimeLine/CustomableIndexElementVM.cs
changeset 27 f292db96b050
parent 20 c2dd8119a6c1
child 36 b6df6fce6e5d
equal deleted inserted replaced
26:44a2dc869e28 27:f292db96b050
    75 
    75 
    76             }
    76             }
    77             
    77             
    78         }
    78         }
    79 
    79 
    80         private VideoChapterType _chapter;
    80         private Color _chapterColor;
    81         public VideoChapterType Chapter
    81         public Color ChapterColor
    82         {
    82         {
    83             get
    83             get
    84             {
    84             {
    85                 return _segmentIndex.Chapter.Type;
    85                 return _chapterColor;
    86             }
    86             }
    87             set
    87             set
    88             {
    88             {
    89                 _chapter = value;
    89                 _chapterColor = value;
    90                 OnPropertyChanged("Chapter");
    90                 OnPropertyChanged("ChapterColor");
       
    91             }
       
    92         }
       
    93         public SolidColorBrush ChapterSolidColorBrush
       
    94         {
       
    95             get
       
    96             {
       
    97                 return new SolidColorBrush(this.ChapterColor);
    91             }
    98             }
    92         }
    99         }
    93 
   100 
    94       
   101       
    95     }
   102     }