TimelineViewDefinition

2 posts, 0 answers
  1. Christie Admin
    Christie Admin avatar
    239 posts
    Member since:
    Aug 2013

    Posted 13 Aug 2013 Link to this post

    Hi,

    I'm using Telerik V2012.2.912.35 and I would like to know why the TimelineViewDefinition doesn't respect the DayEndTime parameter...
    When I'm in timeline view, every day time start at my parameter value but it don't stop at my end time parameter.

    Thank's
    Alain

    Here is my piece of code:

                       <scheduleView:RadScheduleView AppointmentEdited="ScheduleView_AppointmentEdited" Grid.Column="1" x:Name="ScheduleView" FirstDayOfWeek="Sunday" ActiveViewDefinitionIndex="1" AppointmentsSource="{Binding}" AppointmentItemContentTemplate="{StaticResource AppointmentTemplate}" ToolTipTemplate="{StaticResource AppointmentToolTipTemplate}" Margin="0 2 2 2">
                            <scheduleView:RadScheduleView.ViewDefinitions>
                                <scheduleView:DayViewDefinition DayStartTime="9:00" DayEndTime="18:00" MajorTickLength="1h" MinorTickLength="15min" TimerulerMajorTickStringFormat="{}{0:H tt}:{0:mm} " TimerulerMinorTickStringFormat=":{0:mm} " GroupHeaderDateStringFormat="{}{0:dddd d MMMM yyyy}" />
                                <scheduleView:WeekViewDefinition DayStartTime="9:00" DayEndTime="18:00" MajorTickLength="1h" FirstDayOfWeek="Monday" VisibleDays="5" MinorTickLength="15min" TimerulerMajorTickStringFormat="{}{0:H tt}:{0:mm} " TimerulerMinorTickStringFormat=":{0:mm} " GroupHeaderDateStringFormat="{}{0:dddd d MMMM yyyy}" />
                                <scheduleView:MonthViewDefinition DayStartTime="9:00" DayEndTime="18:00" TimerulerMajorTickStringFormat="{}{0:d MMMM} " GroupHeaderDateStringFormat="{}{0:dddd d MMMM yyyy}" />
                                <scheduleView:TimelineViewDefinition DayStartTime="9:00" DayEndTime="18:00" TimerulerGroupStringFormat="{}{0:dddd d MMMM yyyy}" TimerulerMajorTickStringFormat="{}{0:%H}h" TimerulerMinorTickStringFormat=":{0:%m}" MajorTickLength="1h" MinorTickLength="15min" MinTimeRulerExtent="30400" MaxTimeRulerExtent="30400" StretchAppointments="True" StretchGroupHeaders="True" />
                            </scheduleView:RadScheduleView.ViewDefinitions>
                        </scheduleView:RadScheduleView>

  2. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 14 Aug 2013 Link to this post

    Hello Alain,

    Unfortunately the desired behavior is currently not supported by the ScheduleView as the TimelineViewDefinition is designed to display the whole days. When you set the DayStartTime and DayEndTime properties they applied on the whole VisibleDays range (DayStartTime is applied to first day and DayEndTime is applied to the last day from the range).

    However we have already logged that as feature request in our public issue tracking system, so you can vote and track its status on the link below:
    http://www.telerik.com/support/pits.aspx#/details/Issue=14578

    Regards,
    Kalin
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top