'Declaration Public Property PrimaryInterval As Infragistics.Win.UltraWinSchedule.DateTimeInterval
public Infragistics.Win.UltraWinSchedule.DateTimeInterval PrimaryInterval {get; set;}
For detailed information on the subject of the PrimaryInterval property, see the documentation for the PrimaryInterval property of the UltraTimelineView control.
Imports Infragistics.Win.UltraWinGanttView Imports Infragistics.Win.UltraWinSchedule Private Sub SetPrimaryInterval() 'Define TimeInterval object and pass Interval and IntervalUnits as parameters to set Primary interval Dim ganttTimeInterval As New TimeInterval(30, TimeIntervalUnits.Minutes) Me.ultraGanttView1.TimelineSettings.PrimaryInterval = ganttTimeInterval ganttTimeInterval.HeaderAppearance.BackColor = Color.Silver ganttTimeInterval.HeaderTextFormat = "T" ganttTimeInterval.HeaderTextFormatStyle = TimelineViewHeaderTextFormatStyle.FullRange ganttTimeInterval.HeaderTextOrientation = Infragistics.Win.TextOrientationInfo.Horizontal45Degrees End Sub
using Infragistics.Win.UltraWinGanttView; using Infragistics.Win.UltraWinSchedule; private void SetPrimaryInterval() { //Define TimeInterval object and pass Interval and IntervalUnits as parameters to set Primary interval TimeInterval ganttTimeInterval = new TimeInterval(30, TimeIntervalUnits.Minutes); this.ultraGanttView1.TimelineSettings.PrimaryInterval = ganttTimeInterval; ganttTimeInterval.HeaderAppearance.BackColor = Color.Silver; ganttTimeInterval.HeaderTextFormat = "T"; ganttTimeInterval.HeaderTextFormatStyle = TimelineViewHeaderTextFormatStyle.FullRange; ganttTimeInterval.HeaderTextOrientation = Infragistics.Win.TextOrientationInfo.Horizontal45Degrees; }
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
Timeline Class
Timeline Members
PrimaryInterval property (UltraTimelineView class)