Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
420
UltraTimelineView visible intervals
posted

Hi,

I am currently controlling the appearance of the timeline using the PrimaryInterval property. With the screen resolution I am constrained by and the interval set to 3 hours, I can display a whole day on the UI surface available to me.

To show more than a day I must set the interval to be less granular. Is there a way to control the number of intervals displayed, thereby retaining the granularity of a shorter interval by squashing them into a smaller space?

VisibleIntervals looked like it would give me what I want until I discovered that it's read only!

Regards, Jim.

Parents
No Data
Reply
  • 48586
    posted

    Hello,

     

    As far as I understand your issue you want to change logical day duration in order to display only worked hour in UltraTimeLineView. Is so you should set LogicalDayDuration to desired duration of UltraCalendarInfo associated with UltraTimeLineView or if you are not associate a CalendarInfo for the UltraTimelIneView to set this property to default one with code like:

    ultraTimelineView1.CalendarInfo.LogicalDayDuration = new TimeSpan(12, 0, 0);

     

    If you want to learn more about UltraCalendarInfo please look at the following link:

    http://help.infragistics.com/NetAdvantage/WinForms/2010.2/CLR2.0/?page=WinCalendarInfo.html

     

    let me know if you have any further questions.

Children