Version

TodayHeaderAppearance Property

Gets/sets the header Infragistics.Win.AppearanceBase for the Day object representing the current system date.
Syntax
'Declaration
 
Public Property TodayHeaderAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase TodayHeaderAppearance {get; set;}
Example
The following code sample demonstrates how to use the TodayHeaderAppearance property to customize the appearance of the header displayed by the UltraDayView control for the current day.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        '	Create a new instance of the Appearance struct
        Dim myAppearance As Infragistics.Win.Appearance = New Infragistics.Win.Appearance()

        '	Set some of its the properties
        myAppearance.BackColor = Color.AliceBlue
        myAppearance.BackColor2 = Color.CornflowerBlue
        myAppearance.BackGradientStyle = GradientStyle.Horizontal
        myAppearance.ForeColor = Color.Blue
        myAppearance.BorderColor = Color.MidnightBlue

        '	Assign the appearance we configured above to the
        '	UltraCalendarLook component's TodayHeaderAppearance
        Me.UltraCalendarLook1.TodayHeaderAppearance = myAppearance

        ' Assign the UltraCalendarLook component to the UltraDayView
        ' control's CalendarLook property.
        Me.UltraDayView1.CalendarLook = Me.UltraCalendarLook1

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

		private void button1_Click(object sender, System.EventArgs e)
		{
			//	Create a new instance of the Appearance struct
			Infragistics.Win.Appearance myAppearance = new Infragistics.Win.Appearance();

			//	Set some of its the properties
			myAppearance.BackColor = Color.AliceBlue;
			myAppearance.BackColor2 = Color.CornflowerBlue;
			myAppearance.BackGradientStyle = GradientStyle.Horizontal;
			myAppearance.ForeColor = Color.Blue;
			myAppearance.BorderColor = Color.MidnightBlue;

			//	Assign the appearance we configured above to the
			//	UltraCalendarLook component's TodayHeaderAppearance
			this.ultraCalendarLook1.TodayHeaderAppearance = myAppearance;

        // Assign the UltraCalendarLook component to the UltraDayView
        // control's CalendarLook property.
        this.ultraDayView1.CalendarLook = this.ultraCalendarLook1;

		}
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