client/src/Iri.Modernisation.Controls/ViewModel/ProductionTimeLine/CustomableVideoElementVM.cs
equal
deleted
inserted
replaced
80 _videoSequence.EndTrim = value; |
80 _videoSequence.EndTrim = value; |
81 OnPropertyChanged(String.Empty); |
81 OnPropertyChanged(String.Empty); |
82 } |
82 } |
83 } |
83 } |
84 |
84 |
85 private double _duration; |
85 |
86 public new double Duration |
86 public double Duration |
87 { |
87 { |
88 get |
88 get |
89 { |
89 { |
90 return( RunTime.TotalMilliseconds - (BeginTrim.TotalMilliseconds + EndTrim.TotalMilliseconds))*ProductionTimeLine.ScaleTime; |
90 return( RunTime.TotalMilliseconds - (BeginTrim.TotalMilliseconds + EndTrim.TotalMilliseconds))*ProductionTimeLine.ScaleTime; |
91 } |
91 } |
104 _chapter = value; |
104 _chapter = value; |
105 OnPropertyChanged("Chapter"); |
105 OnPropertyChanged("Chapter"); |
106 } |
106 } |
107 } |
107 } |
108 |
108 |
109 public new TimeSpan DurationTimeSpan |
109 private Color _chapterColor; |
|
110 public Color ChapterColor |
|
111 { |
|
112 get |
|
113 { |
|
114 return _chapterColor; |
|
115 } |
|
116 set |
|
117 { |
|
118 _chapterColor = value; |
|
119 OnPropertyChanged("ChapterColor"); |
|
120 } |
|
121 } |
|
122 public SolidColorBrush ChapterSolidColorBrush |
|
123 { |
|
124 get |
|
125 { |
|
126 return new SolidColorBrush(this.ChapterColor); |
|
127 } |
|
128 } |
|
129 public TimeSpan DurationTimeSpan |
110 { |
130 { |
111 get |
131 get |
112 { |
132 { |
113 return _videoSequence.Duration; |
133 return _videoSequence.Duration; |
114 } |
134 } |