[]
Handles the month change in the Dropdown calendar in C1DateEdit. Occurs when the value of the FirstMonth or LastMonth property changes.
public event EventHandler MonthChanged
Type | Description |
---|---|
EventHandler | Handles the month change in the Dropdown calendar in C1DateEdit. Occurs when the value of the or property changes. |
Can be used to set some dates in the month to bold as user scrolls through the months.
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));
}