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

Change Dealline color in Telerik Gantt view

1 Answer 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
soham
Top achievements
Rank 1
soham asked on 30 Nov 2016, 06:11 AM

Hello,

I want to Change Deadline forecolor to Blue of Telerik Gantt view. Now it is in Red color.

Please help me.

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 02 Dec 2016, 11:59 AM
Hello,

You could set a global implicit style for the DeadlineContainer as such, similar to how you would do for the other containers:
<Style BasedOn="{StaticResource DeadlineContainerStyle}" TargetType="{x:Type telerik:DeadlineContainer}">
  <Setter Property="Template">
    <Setter.Value>
      <ControlTemplate TargetType="{x:Type telerik:DeadlineContainer}">
        <Rectangle Height="{Binding ActualHeight, RelativeSource={RelativeSource TemplatedParent}}" Fill="Blue" Width="1" />
      </ControlTemplate>
    </Setter.Value>
  </Setter>
</Style>


Regards,
Martin
Telerik by Progress
Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
Tags
General Discussions
Asked by
soham
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or