public Infragistics.Win.AppearanceBase Appearance {get; set;}
'Declaration Public Property Appearance As Infragistics.Win.AppearanceBase
Imports System.Collections.Generic Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Imports System.Diagnostics Public Sub InitAppearances(ByVal control As UltraTimelineView) ' Use a navy blue foreground color for all elements control.Appearance.ForeColor = Color.Navy ' Set the working hour, non-working hour, and selected range ' appearances to customized colors control.WorkingHourAppearance.BackColor = Color.White control.WorkingHourAppearance.BorderColor = Color.DarkGray control.NonWorkingHourAppearance.BackColor = Color.LightGray control.NonWorkingHourAppearance.BorderColor = Color.Gray control.SelectedDateTimeRangeAppearance.BackColor = Color.GhostWhite control.SelectedDateTimeRangeAppearance.BackColor2 = Color.LightBlue control.SelectedDateTimeRangeAppearance.BackGradientStyle = GradientStyle.Vertical control.SelectedDateTimeRangeAppearance.BorderColor = Color.Navy End Sub
'Declaration Public Property Appearance As Infragistics.Win.AppearanceBase
using System.Collections.Generic; using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; using System.Diagnostics; public void InitAppearances( UltraTimelineView control ) { // Use a navy blue foreground color for all elements control.Appearance.ForeColor = Color.Navy; // Set the working hour, non-working hour, and selected range // appearances to customized colors control.WorkingHourAppearance.BackColor = Color.White; control.WorkingHourAppearance.BorderColor = Color.DarkGray; control.NonWorkingHourAppearance.BackColor = Color.LightGray; control.NonWorkingHourAppearance.BorderColor = Color.Gray; control.SelectedDateTimeRangeAppearance.BackColor = Color.GhostWhite; control.SelectedDateTimeRangeAppearance.BackColor2 = Color.LightBlue; control.SelectedDateTimeRangeAppearance.BackGradientStyle = GradientStyle.Vertical; control.SelectedDateTimeRangeAppearance.BorderColor = Color.Navy; }
'Declaration Public Property Appearance 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