This sample code illustrates the appearance settings available for the Timeline section of GanttView.
Imports Infragistics.Win.UltraWinGanttView
Imports Infragistics.Win.UltraWinSchedule
Private Sub TimelineAppearances()
Me.ultraGanttView1.TimelineSettings.WorkingHourAppearance.BackColor = Color.LightBlue
Me.ultraGanttView1.TimelineSettings.NonWorkingHourAppearance.BackColor = Color.BlanchedAlmond
Me.ultraGanttView1.TimelineSettings.ColumnHeaderAppearance.BackColor = Color.Gray
Me.ultraGanttView1.TimelineSettings.ColumnAutoSizing = TimelineViewColumnAutoSizing.PrimaryIntervalOnly
Me.ultraGanttView1.TimelineSettings.ColumnWidth = 180
End Sub
'Declaration
Public Property NonWorkingHourAppearance As Infragistics.Win.AppearanceBase
using Infragistics.Win.UltraWinGanttView;
using Infragistics.Win.UltraWinSchedule;
private void TimelineAppearances()
{
this.ultraGanttView1.TimelineSettings.WorkingHourAppearance.BackColor = Color.LightBlue;
this.ultraGanttView1.TimelineSettings.NonWorkingHourAppearance.BackColor = Color.BlanchedAlmond;
this.ultraGanttView1.TimelineSettings.ColumnHeaderAppearance.BackColor = Color.Gray;
this.ultraGanttView1.TimelineSettings.ColumnAutoSizing = TimelineViewColumnAutoSizing.PrimaryIntervalOnly;
this.ultraGanttView1.TimelineSettings.ColumnWidth = 180;
}
'Declaration
Public Property NonWorkingHourAppearance As Infragistics.Win.AppearanceBase
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