Version

AdditionalIntervals Property

Returns a collection of DateTimeInterval-derived instances which define the date/time intervals that appear above the PrimaryInterval.
Syntax
'Declaration
 
Public ReadOnly Property AdditionalIntervals As Infragistics.Win.UltraWinSchedule.DateTimeIntervalsCollection
public Infragistics.Win.UltraWinSchedule.DateTimeIntervalsCollection AdditionalIntervals {get;}
Remarks

For detailed information on the subject of the AdditionalIntervals collection, see the documentation for the AdditionalIntervals property of the UltraTimelineView control.

By default, a DateTimeInterval which spans one week is added to the AdditionalIntervals collection. This instance can be removed from the collection at any time. To restore the collection to its default state, including this default interval, use the Reset method.

Example
The following sample code illustrates how to add additional intervals to the Timeline column headers of UltraGanttView control.

Imports Infragistics.Win.UltraWinSchedule
Imports Infragistics.Win.UltraWinGanttView


Private Sub addAdditionalIntervals() 
    
    Dim ganttAddInterval1 As New DateInterval(1, DateIntervalUnits.Days) 
    Me.ultraGanttView1.TimelineSettings.AdditionalIntervals.Add(ganttAddInterval1) 
    
    ganttAddInterval1.HeaderTextFormat = "dddd" 
        
    ganttAddInterval1.HeaderTextFormatStyle = TimelineViewHeaderTextFormatStyle.FullRangeAdjusted 

End Sub
using Infragistics.Win.UltraWinSchedule;
using Infragistics.Win.UltraWinGanttView;

private void addAdditionalIntervals()

{
		DateInterval ganttAddInterval1 = new DateInterval(1, DateIntervalUnits.Days);
     this.ultraGanttView1.TimelineSettings.AdditionalIntervals.Add(ganttAddInterval1);

     ganttAddInterval1.HeaderTextFormat = "dddd";
     ganttAddInterval1.HeaderTextFormatStyle = TimelineViewHeaderTextFormatStyle.FullRangeAdjusted;

}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Timeline Class
Timeline Members
AdditionalIntervals property (UltraTimelineView class)