[]
Represents drop down calendar.
public class DateEditMonthCalendar : ContainerControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IContainerControl, IDisposable
Name | Description |
---|---|
DateEditMonthCalendar() | Creates the instance of the DateEditMonthCalendar class. |
Name | Description |
---|---|
AnnuallyBoldedDates | Gets or sets the array of System.DateTime objects that determines which annual days are displayed in bold. |
ArrowColor | Gets or sets the color of the arrows. |
BackColor | Gets or sets the background color of the control. |
BoldedDates | Gets or sets the array of System.DateTime objects that determines which nonrecurring dates are displayed in bold. |
CalendarDimensions | Gets or sets the number of columns and rows of months displayed. |
CalendarWeekRule | Gets or sets a value that specifies which rule is used to determine the first calendar week of the year. |
CaptionFormat | Gets or sets the format to use for the calendar caption. |
ClearText | Gets or sets the text of the "Clear" button. |
CurrentMonthDisplayOffset | Gets or sets the current month display offset. |
DateIsNull | Gets or sets the value indicating that no date is currently selected in the calendar. |
DayNameLength | Gets or sets the maximum length of day names. |
DayNamesColor | Gets or sets the day names' text color. |
DayNamesFont | Gets or sets the day names font. |
DisabledDates | Gets or sets the array of System.DateTime objects that determines which dates are disabled. |
FirstDayOfWeek | Gets or sets the first day of the week as displayed in the month calendar. |
FirstMonth | Gets the first day of the first fully shown month. |
ForeColor | Gets or sets the foreground color of the control. |
LastMonth | Gets the last day of the last fully shown month. |
LineColor | Gets or sets the line color. |
MaxDate | Gets or sets the maximum allowable date. |
MinDate | Gets or sets the minimum allowable date. The default value is DateTime.MinValue (01/01/0001). |
MonthlyBoldedDates | Gets or sets the array of System.DateTime objects that determine which monthly days to bold. |
RightToLeft | Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts. |
RightToLeftLayout | Gets or sets a value indicating whether the control is laid out from right to left. |
SelectedDate | Gets or sets the selected date. |
SelectionBackColor | Gets or sets the selection background color. |
SelectionForeColor | Gets or sets the selection foreground color. |
ShowClearButton | Determines if the Clear button of the dropdown calendar is visible. |
ShowToday | Gets or sets a value indicating whether the date represented by the TodayDate property is displayed at the bottom of the control. |
ShowTodayButton | Determines if the Today button of the dropdown calendar is visible. |
ShowTodayCircle | Gets or sets a value indicating whether today's date is circled. |
ShowWeekNumbers | Gets or sets a value indicating whether the month calendar control displays week numbers (1-52) to the left of each row of days. |
TitleBackColor | Gets or sets a value indicating the background color of the title area of the calendar. |
TitleFont | Gets or sets the title font. |
TitleForeColor | Gets or sets a value indicating the foreground color of the title area of the calendar. |
TitleHeight | Gets or sets the title height. |
TodayBorderColor | Gets or sets the color of the border around the current date. |
TodayDate | Gets or sets the value that is used by DateEditMonthCalendar as today's date. The default value is the current system date. |
TodayText | Gets or sets the text of the "Today" button. |
TrailingForeColor | Gets or sets a value indicating the color of days in months that are not fully displayed in the control. |
VisualStyle | Gets or sets VisualStyle. |
Name | Description |
---|---|
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. |
AddDisabledDate(DateTime) | Adds a day to be disabled in the month calendar. |
AddMonthlyBoldedDate(DateTime) | Adds a day that is displayed in bold on a monthly basis in the month calendar. |
ContainsDate(DateTime) | |
Dispose(bool) | Clean up any resources being used. |
GetDisplayRange(bool) | Retrieves date information that represents the low and high limits of the displayed dates of the control. |
HitTest(Point) | 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) | 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. |
OnBackColorChanged(EventArgs) | |
OnClearButtonClick(EventArgs) | This method is for internal use only. |
OnClearButtonVisibilityChanged(EventArgs) | This method is for internal use only. |
OnDateValueChanged(NullableDateTimeEventArgs) | This method is for internal use only. |
OnDateValueSelected(NullableDateTimeEventArgs) | This method is for internal use only. |
OnFontChanged(EventArgs) | |
OnLayout(LayoutEventArgs) | |
OnMonthChanged(EventArgs) | Raises the MonthChanged event. |
OnMouseClick(MouseEventArgs) | |
OnPaint(PaintEventArgs) | This method is for internal use only. |
OnParentChanged(EventArgs) | |
OnRightToLeftLayoutChanged(EventArgs) | Raises the RightToLeftLayoutChanged event. |
OnTodayButtonClick(EventArgs) | This method is for internal use only. |
OnTodayButtonVisibilityChanged(EventArgs) | This method is for internal use only. |
OnVisibleChanged(EventArgs) | |
OnVisualStyleChanged(EventArgs) | Invokes the VisualStyleChanged event. |
ProcessCmdKey(ref Message, Keys) | |
RemoveAllAnnuallyBoldedDates() | Removes all the annually bold dates. |
RemoveAllBoldedDates() | Removes all the nonrecurring bold dates. |
RemoveAllDisabledDates() | Removes the all disabled 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. |
RemoveDisabledDate(DateTime) | Removes the specified date from the list of disabled dates. |
RemoveMonthlyBoldedDate(DateTime) | Removes the specified date from the list of monthly bolded dates. |
ResetAnnuallyBoldedDates() | Clears AnnuallyBoldedDates. |
ResetArrowColor() | This method is for internal use only. |
ResetBackColor() | This method is for internal use only. |
ResetBoldedDates() | Clears BoldedDates. |
ResetCalendarDimensions() | Sets the CalendarDimensions property to its default value. |
ResetDayNameLength() | This method is for internal use only. |
ResetDayNamesColor() | This method is for internal use only. |
ResetDayNamesFont() | This method is for internal use only. |
ResetDisabledDates() | Clears ResetDisabledDates(). |
ResetForeColor() | This method is for internal use only. |
ResetLineColor() | This method is for internal use only. |
ResetMaxDate() | Sets the MaxDate property to its default value. |
ResetMinDate() | Sets the MinDate property to its default value. |
ResetMonthlyBoldedDates() | Clears MonthlyBoldedDates. |
ResetSelectedDate() | Sets the SelectedDate property to its default value. |
ResetSelectionBackColor() | This method is for internal use only. |
ResetSelectionForeColor() | This method is for internal use only. |
ResetTitleBackColor() | This method is for internal use only. |
ResetTitleFont() | This method is for internal use only. |
ResetTitleForeColor() | This method is for internal use only. |
ResetTitleHeight() | This method is for internal use only. |
ResetTodayBorderColor() | This method is for internal use only. |
ResetTodayDate() | Sets the TodayDate property to its default value. |
ResetTrailingForeColor() | This method is for internal use only. |
ResetVisualStyle() | Resets VisualStyle to the default value. |
ResumeAllLayout(bool) | Calls ResumeLayout on all DateEditMonthCalendar's child controls. |
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. |
ShouldSerializeAnnuallyBoldedDates() | Indicates whether the AnnuallyBoldedDates property should be persisted. |
ShouldSerializeArrowColor() | This method is for internal use only. |
ShouldSerializeBackColor() | This method is for internal use only. |
ShouldSerializeBoldedDates() | Indicates whether the BoldedDates property should be persisted. |
ShouldSerializeCalendarDimensions() | Indicates whether the CalendarDimensions property should be persisted. |
ShouldSerializeDayNameLength() | This method is for internal use only. |
ShouldSerializeDayNamesColor() | This method is for internal use only. |
ShouldSerializeDayNamesFont() | This method is for internal use only. |
ShouldSerializeDisabledDates() | Indicates whether the DisabledDates property should be persisted. |
ShouldSerializeForeColor() | This method is for internal use only. |
ShouldSerializeLineColor() | This method is for internal use only. |
ShouldSerializeMaxDate() | Indicates whether the MaxDate property should be persisted. |
ShouldSerializeMinDate() | Indicates whether the MinDate property should be persisted. |
ShouldSerializeMonthlyBoldedDates() | Indicates whether the MonthlyBoldedDates property should be persisted. |
ShouldSerializeSelectedDate() | Indicates whether the SelectedDate property should be persisted. |
ShouldSerializeSelectionBackColor() | This method is for internal use only. |
ShouldSerializeSelectionForeColor() | This method is for internal use only. |
ShouldSerializeTitleBackColor() | This method is for internal use only. |
ShouldSerializeTitleFont() | This method is for internal use only. |
ShouldSerializeTitleForeColor() | This method is for internal use only. |
ShouldSerializeTitleHeight() | This method is for internal use only. |
ShouldSerializeTodayBorderColor() | This method is for internal use only. |
ShouldSerializeTodayDate() | Indicates whether the TodayDate property should be persisted. |
ShouldSerializeTrailingForeColor() | This method is for internal use only. |
ShouldSerializeVisualStyle() | Tests whether VisualStyle should be serialized. |
SuspendAllLayout() | Calls SuspendLayout on all DateEditMonthCalendar's child controls. |
WndProc(ref Message) |
Name | Description |
---|---|
ClearButtonClick | Occurs when Clear button is clicked. |
ClearButtonVisibilityChanged | Occurs when Clear button visibility is changed. |
DateValueChanged | Occurs when the value of the Date property is changed. |
DateValueSelected | Occurs when the user selects a value for the Date property. |
MonthChanged | Handles the month change in the Dropdown calendar in C1DateEdit. Occurs when the value of the FirstMonth or LastMonth property changes. |
RightToLeftLayoutChanged | Occurs when the value of the RightToLeftLayout property changes. |
TodayButtonClick | Occurs when Today button is clicked. |
TodayButtonVisibilityChanged | Occurs when Today button visibility is changed. |
VisualStyleChanged | Occurs when the VisualStyle property has changed. |