Header Periods style (ver: Q2-2012)

2 posts, 0 answers
  1. Rahil Kidwai
    Rahil Kidwai avatar
    3 posts
    Member since:
    Aug 2012

    Posted 03 Jul 2012 Link to this post

    I am trying to change the style of header periods of the RadTimeline control.

    I am able to change the style of the first row of the header (year display) using implicit style:

        <Style TargetType="timelines:TimelineGroupPeriodControl">
            <Setter Property="Background" Value="LightBlue" />
            <Setter Property="BorderBrush" Value="Gray" />
            <Setter Property="Foreground" Value="Black" />

    where "timelines" is referring to namespace:

    But I am not able to update the style of the second row of the header (month / week / day display). I tried styling different controls in the above namespace with no success.

    Can you tell me which control do I need to style implicitly for this purpose.

  2. Petar Kirov
    Petar Kirov avatar
    425 posts

    Posted 06 Jul 2012 Link to this post

    Hi Rahil,

    I think that you need to style the TimelinePeriodControl. You can do it like this:

    <Style TargetType="timelines:TimelinePeriodControl"
                   BasedOn="{StaticResource TimelinePeriodControlStyle}">
        <Setter Property="Foreground" Value="Orange" />

    All the best,
    Petar Kirov
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top