Skip to content

MonthCalendar Control Members

See Also

MonthCalendar Overview | Value Property | SelStart Property | SelEnd Property | MultiSelect Property | MonthColumns Property | MonthRows Property | MaxSelCount Property

See Also


Public Methods

Public Method AboutBox
Displays a dialog box that specifies the current version of the control.


Public Properties

Property Description
Public Property AutoSize Gets/sets whether the month items in the MonthCalendar control are automatically sized to fit within the size of the control.
Public Property Day Returns or sets a value that specifies the current day number.
Public Property Enabled Gets or sets whether this control is enabled.
Public Property Font Gets/Sets the font that will be used to display the text for the control.
Public Property hWnd Gets the window handle that the control is bound to.
Public Property MaxDate Gets or sets the maximum allowable date.
Public Property MaxSelCount Gets or sets the maximum number of days that can be selected in a month calendar control.
Public Property MinDate Gets or sets the minimum allowable date.
Public Property Month Gets or sets a value that specifies the current month.
Public Property MonthColumns Gets or sets the number of columns of months displayed.
Public Property MonthRows Gets or sets the number of rows of months displayed.
Public Property MultiSelect Gets or sets a value that determines if multiple dates can be selected at once.
Public Property ReCreateReparented
Public Property SelEnd Gets or sets the end date of the selected range of dates.
Public Property SelStart Gets or sets the start date of the selected range of dates.
Public Property ShowToday Gets or sets a value that determines if the current date is displayed at the bottom of the control.
Public Property 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.
Public Property StartOfWeek Gets or sets a value that specifies the starting day of the week.
Public Property Value Gets or sets the date currently displayed.
Public Property Year Gets or sets a value that specifies a calendar year.

Events

Event Description
Public Event Click Occurs when the user clicks the MonthCalendar control.
Public Event DateClick Occurs when a specific date is clicked in the calendar.
Public Event DblClick Occurs when the user double-clicks the MonthCalendar control.
Public Event MouseDown Occurs when the user presses a mouse button.
Public Event MouseMove Occurs when the user moves the mouse.
Public Event MouseUp Occurs when the user releases a mouse button.
Public Event ReCreated
Public Event SelChange Occurs when the user selects a new date or range of dates.

See Also

MonthCalendar Overview | Value Property | SelStart Property | SelEnd Property | MultiSelect Property | MonthColumns Property | MonthRows Property | MaxSelCount Property


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.