Using the C1Calendar Control / C1Calendar Appearance / C1Calendar Properties / Color Properties
Color Properties

The following properties let you customize the colors used in the parts of the month area and month header of the calendar control such as the adjacent month days, days of week, month header, selected days, weekends, and the current day. Additionally it includes color properties for the foreground and background of the control itself.

 

Property

Description

C1Calendar.AdjacentMonthDayBrush

Gets or sets a Brush object used to display adjacent month days. This is a dependency property.

Background

Gets or sets a brush that describes the background of a control. This is a dependency property.

C1Calendar.DaysOfWeekBorderBrush

Gets or sets a Brush object used to underline days of week. This is a dependency property.

Foreground

Gets or sets a brush that describes the foreground color. This is a dependency property.

C1Calendar.MonthHeaderBackground

Gets or sets a Brush object used to color month header. This is a dependency property.

C1Calendar.MonthHeaderForeground

Gets or sets a Brush object used to color month header text. This is a dependency property.

C1Calendar.NavigationButtonBrush

Get or sets a Brush used to color navigation buttons. This is a dependency property.

C1Calendar.SelectedDayBrush

Gets or sets a Brush object used to highlight selected dates. This is a dependency property.

C1Calendar.TodayBrush

Gets or sets a Brush object used to highlight current date. This is a dependency property.

C1Calendar.WeekendBrush

Gets or sets a Brush object used to display weekends. This is a dependency property.

 

Property

Example

C1Calendar.AdjacentMonthDayBrush

Background

C1Calendar.DaysOfWeekBorderBrush

Foreground

This property effects the abbreviated work days (Monday through Friday) and the calendar number work days (Monday through Friday).

C1Calendar.MonthHeaderBackground

This property affects the background color for the month header.

C1Calendar.MonthHeaderForeground

This property affects the Month name and Year that appears in the month header.

C1Calendar.NavigationButtonBrush

C1Calendar.SelectedDayBrush

C1Calendar.TodayBrush

C1Calendar.WeekendBrush