System.Windows.Forms.DateRangeEventArgs Class

Provides data for the MonthCalendar.DateChanged or MonthCalendar.DateSelected events of the System.Windows.Forms.MonthCalendar control.

See Also: DateRangeEventArgs Members

Syntax

public class DateRangeEventArgs : EventArgs

Remarks

The MonthCalendar.DateChanged event occurs when the currently selected date or range of dates changes; for example, when the user explicitly changes a selection within the current month or when the selection is implicitly changed in response to next/previous month navigation. The MonthCalendar.DateSelected event occurs when the user explicitly changes a selection. The DateRangeEventArgs.#ctor(DateTime, DateTime) constructor specifies the start and end for the new date range that has been selected.

Note:

If a single date is selected, the DateRangeEventArgs.Start and DateRangeEventArgs.End property values will be equal.

For more information about handling events, see [<topic://cpconEventsOverview>].

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0