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

RadTimeLine, How to change text alignment in Period header Items

1 Answer 108 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
Andriy
Top achievements
Rank 1
Andriy asked on 21 Apr 2017, 08:25 AM
I would like to change alignment of text in header items. Is it possible ?

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 25 Apr 2017, 11:02 AM
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.
Tags
TimeLine
Asked by
Andriy
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or