Version

WorkingHourAppearance Property

Returns or sets the appearance for TimeSlotUIElements which appear in the working hour range.
Syntax
'Declaration
 
Public Property WorkingHourAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase WorkingHourAppearance {get; set;}
Example
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
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;

}
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