RadTimeLine, How to change text alignment in Period header Items

2 posts, 0 answers
  1. Andriy
    Andriy avatar
    1 posts
    Member since:
    Mar 2017

    Posted 21 Apr Link to this post

    I would like to change alignment of text in header items. Is it possible ?
  2. Martin Ivanov
    Admin
    Martin Ivanov avatar
    1404 posts

    Posted 25 Apr Link to this post

    Hi Andriy,

    You can achieve your requirement with an implicit style that targets the TimelinePeriodControl elements. Here is an example in code:
    <telerik:RadTimeline.Resources>
        <Style TargetType="telerik:TimelinePeriodControl">
            <Setter Property="HorizontalContentAlignment" Value="Left" />
        </Style>
    </telerik:RadTimeline.Resources>

    Regards,
    Martin
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top