By default, the alternate month appearances (AlternateMonthAppearance, AlternateMonthHeaderAppearance, and AlternateMonthDayAppearance) are not used when rendering the month elements to be consistent with Outlook's appearance. However, when this property is set to true, the control will use those appearances when resolving the appearance for the related objects.
Note: Because the control sizes itself according to the font size of its Appearance, certain aspects of the alternate month appearances are not applied to their associated elements.
Specifically, only the following properties are applied:
Private Sub SetupAlternateMonthAppearance() ' Set some color properties of the UltraCalendarLook object's AlternateMonthAppearance Me.ultraMonthViewMulti1.CalendarLook.AlternateMonthAppearance.BackColor = Color.LightBlue Me.ultraMonthViewMulti1.CalendarLook.AlternateMonthDayAppearance.ForeColor = Color.DarkBlue ' Set the control's UseAlternateMonthAppearances property so that ' the AlternateMonthAppearance properties are applied to the control Me.ultraMonthViewMulti1.UseAlternateMonthAppearances = True End Sub
private void SetupAlternateMonthAppearance() { // Set some color properties of the UltraCalendarLook object's AlternateMonthAppearance this.ultraMonthViewMulti1.CalendarLook.AlternateMonthAppearance.BackColor = Color.LightBlue; this.ultraMonthViewMulti1.CalendarLook.AlternateMonthDayAppearance.ForeColor = Color.DarkBlue; // Set the control's UseAlternateMonthAppearances property so that // the AlternateMonthAppearance properties are applied to the control this.ultraMonthViewMulti1.UseAlternateMonthAppearances = true; }
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