This is a migrated thread and some comments may be shown as answers.

How to change summery arrows color?

1 Answer 84 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Stefania
Top achievements
Rank 2
Stefania asked on 28 Jul 2015, 08:10 AM

Hi,

Is it possible to change the summery arrows color?

I tried with this code ... but only the line color changed

Thank you

<Style TargetType="telerik:SummaryContainer" >
           <Setter Property="ToolTipTemplate">
               <Setter.Value>
                   <StaticResourceExtension ResourceKey="GanttTooltipSummaryTemplate" />
               </Setter.Value>
           </Setter>
               <Setter Property="Background">
                   <Setter.Value>
                       <SolidColorBrush Color="LightGreen" Opacity="0.8" />
                   </Setter.Value>
               </Setter>
            
           </Style>

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 29 Jul 2015, 01:01 PM
Hello Stefania,

In order to achieve the desired appearance you need to modify the default Style of the SummaryContainer. Inside its ControlTemplate change the Fill property of the Paths named x:Name="LeftMarker" and x:Name="RightMarker as needed and the desired appearance will be achieved.

We have created a sample project that demonstrates that and you could run and evaluate it - please, notice that Implicit Styles were used.

Hopes this helps.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
GanttView
Asked by
Stefania
Top achievements
Rank 2
Answers by
Nasko
Telerik team
Share this question
or