System.Windows.Forms.MonthCalendar: Method Members

The methods of System.Windows.Forms.MonthCalendar are listed below. For a list of all members, see the MonthCalendar Members list.

See Also: Inherited members from System.Windows.Forms.Control

Public Methods

AddAnnuallyBoldedDate(DateTime)

Adds a day that is displayed in bold on an annual basis in the month calendar.

AddBoldedDate(DateTime)

Adds a day to be displayed in bold in the month calendar.

AddMonthlyBoldedDate(DateTime)

Adds a day that is displayed in bold on a monthly basis in the month calendar.

GetDisplayRange(bool) : SelectionRange

Retrieves date information that represents the low and high limits of the displayed dates of the control.

HitTest(System.Drawing.Point) : MonthCalendar.HitTestInfo

Returns an object with information on which portion of a month calendar control is at a location specified by a System.Drawing.Point.

HitTest(int, int) : MonthCalendar.HitTestInfo

Returns a System.Windows.Forms.MonthCalendar.HitTestInfo with information on which portion of a month calendar control is at a specified x- and y-coordinate.

RemoveAllAnnuallyBoldedDates()

Removes all the annually bold dates.

RemoveAllBoldedDates()

Removes all the nonrecurring bold dates.

RemoveAllMonthlyBoldedDates()

Removes all the monthly bold dates.

RemoveAnnuallyBoldedDate(DateTime)

Removes the specified date from the list of annually bold dates.

RemoveBoldedDate(DateTime)

Removes the specified date from the list of nonrecurring bold dates.

RemoveMonthlyBoldedDate(DateTime)

Removes the specified date from the list of monthly bolded dates.

SetCalendarDimensions(int, int)

Sets the number of columns and rows of months to display.

SetDate(DateTime)

Sets a date as the currently selected date.

SetSelectionRange(DateTime, DateTime)

Sets the selected dates in a month calendar control to the specified date range.

override
ToString() : string

Returns a string that represents the System.Windows.Forms.MonthCalendar control.

UpdateBoldedDates()

Repaints the bold dates to reflect the dates set in the lists of bold dates.

Protected Methods

override
CreateHandle()

Overrides the Control.CreateHandle method.

override
Dispose(bool)

Releases all resources used by the System.Windows.Forms.MonthCalendar.

override
IsInputKey(Keys) : bool
Documentation for this section has not yet been entered.
override
OnBackColorChanged(EventArgs)
Documentation for this section has not yet been entered.
OnDateChanged(DateRangeEventArgs)

Raises the MonthCalendar.DateChanged event.

OnDateSelected(DateRangeEventArgs)

Raises the MonthCalendar.DateSelected event.

override
OnFontChanged(EventArgs)

Raises the Control.FontChanged event.

override
OnForeColorChanged(EventArgs)
Documentation for this section has not yet been entered.
override
OnHandleCreated(EventArgs)

Overrides the Control.OnHandleCreated(EventArgs) method.

override
OnHandleDestroyed(EventArgs)

Raises the Control.HandleDestroyed event.

OnRightToLeftLayoutChanged(EventArgs)

Raises the MonthCalendar.RightToLeftLayoutChanged event.

override
SetBoundsCore(int, int, int, int, BoundsSpecified)

Overrides the Control.SetBoundsCore(int, int, int, int, BoundsSpecified) method.

override
WndProc(ref Message)
Documentation for this section has not yet been entered.