ComponentOne Calendar for ASP.NET: Calendar Appearance > Styles > Day Styles

Day Styles

C1Calendar contains the following unique CSS selectors for its day elements:

 

CSS Selectors

Description

.Day

Gets or sets the compound style for the normal days of the current month. Note that when no styles are specified for the other types of days it gets the style for the days displayed in the entire month including the other month days.

.DayHover

Gets or sets the compound style for the normal days when the mouse is over it. The normal days include the days that appear for the current month. The other days that appear on the calendar for the previous or next month are known as other month days and their associated style is OtherMonthDayStyle.

.DisabledDay

Gets or sets the compound style for the disable days. To enable the disabled day style properties the disabled dates must be applied. For more information on disabled dates, see Disabled Dates.

.OtherMonthDay

Gets or sets the compound style for the days that belong to another month in a month view.

.OutOfRangeDay

Gets or sets the compound style for the days out of the valid range.

.SelectedDay

Gets or sets the compound style for the selected days.

.Today

Gets or sets the compound style for today.

 

General appearance settings such as the back color, background image, border color, border style, border width, font, and forecolor properties can be applied to the above styles for the day elements. Additionally, more detailed style settings can be applied to the day style elements such as specifying the border setting for each border side.


Send comments about this topic to ComponentOne.
Copyright 1987-2010 ComponentOne LLC. All rights reserved.