[]
        
(Showing Draft Content)

C1.Win.C1Input.DateEditMonthCalendar.MonthChanged

MonthChanged Event

Handles the month change in the Dropdown calendar in C1DateEdit. Occurs when the value of the FirstMonth or LastMonth property changes.

Namespace: C1.Win.C1Input
Assembly: C1.Win.C1Input.4.8.dll
Syntax
public event EventHandler MonthChanged
Returns
Type Description
EventHandler Handles the month change in the Dropdown calendar in C1DateEdit. Occurs when the value of the or property changes.
Remarks

Can be used to set some dates in the month to bold as user scrolls through the months.

Examples

This example sets a new bolded date in the selected month.

private void c1DateEdit1_Calendar_MonthChanged(object sender, EventArgs e)
{
   DateTime dt = c1DateEdit1.Calendar.FirstMonth;
   c1DateEdit1.Calendar.AddBoldedDate(new DateTime(dt.Year, dt.Month, dt.Month));
}