Change Dealline color in Telerik Gantt view

2 posts, 0 answers
  1. soham
    soham avatar
    7 posts
    Member since:
    Oct 2016

    Posted 30 Nov 2016 Link to this post


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

    Please help me.

    Thanks in advance

  2. Martin
    Martin avatar
    126 posts

    Posted 02 Dec 2016 Link to this post


    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">
          <ControlTemplate TargetType="{x:Type telerik:DeadlineContainer}">
            <Rectangle Height="{Binding ActualHeight, RelativeSource={RelativeSource TemplatedParent}}" Fill="Blue" Width="1" />

    Telerik by Progress
    Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
Back to Top