MonthCalendar
Wisej.Web.MonthCalendar
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Represents a control that enables the user to select a date using a visual monthly calendar display.
There are 4 tooltip labels that can be localized for this control. They are already localized in the default languages provided by Wisej. An application can localize the tooltip labels by adding the string resources to the localized Resources.resx or /Properties/Resources.resx.
$Next year The tooltip text displayed on the popup calendar for the next-year button.
$Last year The tooltip text displayed on the popup calendar for the last-year button.
$Next month The tooltip text displayed on the popup calendar for the next-month button.
$Last month The tooltip text displayed on the popup calendar for the last-month button.
Constructors
MonthCalendar()
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Initializes an instance of the MonthCalendar control.
Properties
AnnuallyBoldedDates
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
DateTime[]: Returns or sets the array of DateTime objects that determines which annual days are displayed in bold.
AutoSize
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Boolean: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: False
)
BoldedDates
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
DateTime[]: Returns or sets the array of DateTime objects that determines which nonrecurring dates are displayed in bold.
BorderStyle
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
BorderStyle: Returns or sets the type of border that is drawn around the MonthCalendar. (Default: Solid
)
CalendarDimensions
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Size: Returns or sets the number of columns and rows of months displayed.
FirstDayOfWeek
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Day: Returns or sets the first day of the week as displayed in the month calendar. (Default: Default
)
MaxDate
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
DateTime: Returns or sets the maximum allowable date.
Throws:
ArgumentException The value is less than the MinDate.
MaxSelectionCount
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Int32: Returns or sets the maximum number of days that can be selected in a month calendar control. (Default: 7
)
Throws:
ArgumentException The value is less than 1; or the MaxSelectionCount cannot be set.
MinDate
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
DateTime: Returns or sets the minimum allowable date.
Throws:
ArgumentException The date set is greater than the MaxDate; or the date set is earlier than 01/01/1753.
MonthlyBoldedDates
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
DateTime[]: Returns or sets the array of DateTime objects that determine which monthly days to bold.
ReadOnly
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Boolean: Returns or sets whether the control is read-only. (Default: False
)
SelectionEnd
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
DateTime: Returns or sets the end date of the selected range of dates.
Throws:
ArgumentOutOfRangeException The date value is less than the MinDate value; or the date value is greater than the MaxDate value.
SelectionRange
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
SelectionRange: Returns or sets the selected range of dates for a month calendar control.
Throws:
ArgumentOutOfRangeException The Start value of the assigned SelectionRange is less than the minimum date allowable for a month calendar control; or the Start value of the assigned SelectionRange is greater than the maximum allowable date for a month calendar control; or the End value of the assigned SelectionRange is less than the minimum date allowable for a month calendar control; or the End value of the assigned SelectionRange is greater than the maximum allowable date for a month calendar control.
SelectionStart
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
DateTime: Returns or sets the start date of the selected range of dates.
Throws:
ArgumentOutOfRangeException The date value is less than MinDate; or the date value is greater than MaxDate.
ShowOtherMonth
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Boolean: Returns or sets whether the month calendar control displays days from the previous and the next month. (Default: True
)
ShowToday
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Boolean: Returns or sets whether the date represented by the TodayDate property is displayed at the bottom of the control. (Default: True
)
ShowToolTips
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Boolean: Returns or sets whether the month calendar shows ToolTips. (Default: True
)
ShowWeekNumbers
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Boolean: Returns or sets whether the month calendar control displays week numbers (1-52) to the left of each row of days. (Default: True
)
TodayDate
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
DateTime: Returns or sets the value that is used by MonthCalendar as today's date.
Throws:
ArgumentOutOfRangeException The value is less than the minimum allowable date; or the value is greater than the maximum allowable date.
TodayFormat
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
String: Returns or sets the format string used to display today's date. (Default: "d"
)
See Custom Date and Time Format Strings for the supported format definitions.
Tools
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
ToolsPosition
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
HeaderPosition: Returns or sets the position of the ComponentTool items associated with this control. (Default: Top
)
Methods
AddAnnuallyBoldedDate(date)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Adds a day that is displayed in bold on an annual basis in the month calendar.
Parameter | Type | Description |
---|---|---|
date | The date to be displayed in bold. |
AddBoldedDate(date)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Adds a day to be displayed in bold in the month calendar.
Parameter | Type | Description |
---|---|---|
date | The date to be displayed in bold. |
AddMonthlyBoldedDate(date)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Adds a day that is displayed in bold on a monthly basis in the month calendar.
Parameter | Type | Description |
---|---|---|
date | The date to be displayed in bold. |
GetDisplayRange()
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Returns the low and high limits of the displayed dates of the control.
Returns: SelectionRange. The begin and end dates of the displayed calendar.
RemoveAllAnnuallyBoldedDates()
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Removes all the annually bold dates.
RemoveAllBoldedDates()
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Removes all the nonrecurring bold dates.
RemoveAllMonthlyBoldedDates()
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Removes all the monthly bold dates.
RemoveAnnuallyBoldedDate(date)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Removes the specified date from the list of annually bold dates.
Parameter | Type | Description |
---|---|---|
date | The date to remove from the date list. |
RemoveBoldedDate(date)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Removes the specified date from the list of nonrecurring bold dates.
Parameter | Type | Description |
---|---|---|
date | The date to remove from the date list. |
RemoveMonthlyBoldedDate(date)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Removes the specified date from the list of monthly bolded dates.
Parameter | Type | Description |
---|---|---|
date | The date to remove from the date list. |
SetCalendarDimensions(x, y)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Sets the number of columns and rows of months to display.
Throws:
ArgumentOutOfRangeException x or y is less than 1.
SetDate(date)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Sets a date as the currently selected date.
Parameter | Type | Description |
---|---|---|
date | The date to be selected. |
Throws:
ArgumentOutOfRangeException The value is less than the minimum allowable date; or the value is greater than the maximum allowable date. This exception will only be thrown if MinDate or MaxDate have been set explicitly.
SetSelectionRange(start, end)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Sets the selected dates in a month calendar control to the specified date range.
Parameter | Type | Description |
---|---|---|
start | The beginning date of the selection range. | |
end | The end date of the selection range. |
Throws:
ArgumentOutOfRangeException start is less than the minimum date allowable for a month calendar control; or start is greater than the maximum allowable date for a month calendar control; or end is less than the minimum date allowable for a month calendar control; or end is greater than the maximum allowable date for a month calendar control. This exception will only be thrown if MinDate or MaxDate have been set explicitly.
Events
DateChanged
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
DateRangeEventHandler Fired when the date shown in the MonthCalendar changes.
DateSelected
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
DateRangeEventHandler Fired when the user changes the selected date or range.
DisplayRangeChanged
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
DateRangeEventHandler Fired when the displayed range changes.
ReadOnlyChanged
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
EventHandler Fired when the value of the ReadOnly property has changed.
ToolClick
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
ToolClickEventHandler Fired when a ComponentTool is clicked.
Implements
Name | Description |
---|---|
Bindable components implement this interface. | |
Controls that support drag & drop operations implement this interface. | |
Provides access to the ReadOnly property for coontrols that support the read-only mode. | |
All wisej components implement this interface. | |
All wisej controls derived from the Control class must implement this interface. | |
Allows an object to serialize itself. |
Last updated