'宣言 Public Property TodayHeaderAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase TodayHeaderAppearance {get; set;}
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; }
UltraCalendarLook クラス
UltraCalendarLook メンバ
Infragistics.Win.Appearance
TodayAppearance プロパティ
Day クラス
DayLook クラス
DayAppearance プロパティ