diff -r 44a2dc869e28 -r f292db96b050 client/src/Iri.Modernisation.Controls/ViewModel/PolemicElementVM.cs --- a/client/src/Iri.Modernisation.Controls/ViewModel/PolemicElementVM.cs Tue Dec 22 16:22:22 2009 +0100 +++ b/client/src/Iri.Modernisation.Controls/ViewModel/PolemicElementVM.cs Mon Jan 04 10:29:39 2010 +0100 @@ -188,22 +188,11 @@ /// /// PolemicType de l'élément /// - public object Type + public SolidColorBrush Type { get { - if (_element is Annotation) - { - return ((Annotation)_element).Type; - } - else if(_element is SegmentIndex) - { - return ((SegmentIndex)_element).Chapter.Type; - } - else - { - return PolemicElementType.Basic; - } + return new SolidColorBrush(Chapter.Color); } } private PolemicElement _element { get; set; }