How to change summery arrows color?

2 posts, 0 answers
  1. Stefania
    Stefania avatar
    107 posts
    Member since:
    May 2013

    Posted 28 Jul 2015 Link to this post

    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>
  2. Nasko
    Admin
    Nasko avatar
    588 posts

    Posted 29 Jul 2015 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top