Gets or sets a value indicating the color of days in months that are not fully displayed in the control.
Documentation for this section has not yet been entered.
When the calendar is displayed, some dates precede and some follow the months that are fully displayed. Using the MonthCalendar.TrailingForeColor property, you can modify the color of the text for those dates.
Starting with Windows Vista and depending on the theme, setting this property might not change the appearance of the calendar. For example, if Windows is set to use the Aero theme, setting this property has no effect. This is because an updated version of the calendar is rendered with an appearance that is derived at run time from the current operating system theme. If you want to use this property and enable the earlier version of the calendar, you can disable visual styles for your application. Disabling visual styles might affect the appearance and behavior of other controls in your application. To disable visual styles in Visual Basic, open the Project Designer and uncheck the Enable XP visual styles check box. To disable visual styles in C#, open Program.cs and comment out Application.EnableVisualStyles();. For more information about visual styles, see How to: Enable Windows XP Visual Styles.