Wisej.Web.DateRangeEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the DateChanged or DateSelected events of the MonthCalendar control.
Initializes a new instance of the DateRangeEventArgs class.
Name | Type | Description |
---|---|---|
Initializes a new instance of the DateRangeEventArgs class.
Name | Type | Description |
---|---|---|
DateTime: Returns the last date/time value in the range that the user has selected.
DateTime: Returns the first date/time value in the range that the user has selected.
Wisej.Web.MonthCalendar
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.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.
Initializes an instance of the MonthCalendar control.
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Adds a day that is displayed in bold on an annual basis in the month calendar.
Adds a day to be displayed in bold in the month calendar.
Adds a day that is displayed in bold on a monthly basis in the month calendar.
Returns the low and high limits of the displayed dates of the control.
Removes all the annually bold dates.
Removes all the nonrecurring bold dates.
Removes all the monthly bold dates.
Removes the specified date from the list of annually bold dates.
Removes the specified date from the list of nonrecurring bold dates.
Removes the specified date from the list of monthly bolded dates.
Sets the number of columns and rows of months to display.
Throws:
Sets a date as the currently selected date.
Throws:
Sets the selected dates in a month calendar control to the specified date range.
Throws:
Wisej.Web.SelectionRange
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a date selection range in the control.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified beginning and ending dates.
Name | Type | Description |
---|
Initializes a new instance of the class with the specified selection range.
Name | Type | Description |
---|
Name | Description |
---|---|
Initializes an instance of the control with the specified settings.
Name | Type | Description |
---|
Initializes an instance of the control with the specified settings.
Name | Type | Description |
---|
: Returns or sets the array of objects that determines which annual days are displayed in bold.
: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: False
)
: Returns or sets the array of objects that determines which nonrecurring dates are displayed in bold.
: Returns or sets the type of border that is drawn around the . (Default: Solid
)
: Returns or sets the number of columns and rows of months displayed.
: Returns or sets the first day of the week as displayed in the month calendar. (Default: Default
)
: Returns or sets the maximum allowable date.
The value is less than the .
: Returns or sets the maximum number of days that can be selected in a month calendar control. (Default: 7
)
The value is less than 1; or the cannot be set.
: Returns or sets the minimum allowable date.
The date set is greater than the ; or the date set is earlier than 01/01/1753.
: Returns or sets the array of objects that determine which monthly days to bold.
: Returns or sets whether the control is read-only. (Default: False
)
: Returns or sets the end date of the selected range of dates.
The date value is less than the value; or the date value is greater than the value.
: Returns or sets the selected range of dates for a month calendar control.
The value of the assigned is less than the minimum date allowable for a month calendar control; or the value of the assigned is greater than the maximum allowable date for a month calendar control; or the value of the assigned is less than the minimum date allowable for a month calendar control; or the value of the assigned is greater than the maximum allowable date for a month calendar control.
: Returns or sets the start date of the selected range of dates.
The date value is less than ; or the date value is greater than .
: Returns or sets whether the month calendar control displays days from the previous and the next month. (Default: True
)
: Returns or sets whether the date represented by the property is displayed at the bottom of the control. (Default: True
)
: Returns or sets whether the month calendar shows ToolTips. (Default: True
)
: Returns or sets whether the month calendar control displays week numbers (1-52) to the left of each row of days. (Default: True
)
: Returns or sets the value that is used by as today's date.
The value is less than the minimum allowable date; or the value is greater than the maximum allowable date.
: Returns or sets the format string used to display today's date. (Default: "d"
)
See for the supported format definitions.
: Returns the instance of associated with this control.
: Returns or sets the position of the items associated with this control. (Default: Top
)
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Returns: . The begin and end dates of the displayed calendar.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
x or y is less than 1.
Parameter | Type | Description |
---|
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 or have been set explicitly.
Parameter | Type | Description |
---|
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 or have been set explicitly.
Fired when the date shown in the changes.
Fired when the user changes the selected date or range.
Fired when the displayed range changes.
Fired when the value of the property has changed.
Fired when a is clicked.
Name | Description |
---|
: Returns or sets the ending date and time of the selection range.
: Returns or sets the starting date and time of the selection range.
Represents the method that will handle the DateChanged or DateSelected event of a MonthCalendar.
onDateChanged | The event handler that is called when the selected date changes. |
location |
size |
onDateChanged | The event handler that is called when the selected date changes. |
date | The date to be displayed in bold. |
date | The date to be displayed in bold. |
date | The date to be displayed in bold. |
date | The date to remove from the date list. |
date | The date to remove from the date list. |
date | The date to remove from the date list. |
x | The number of columns. |
y | The number of rows. |
date | The date to be selected. |
start | The beginning date of the selection range. |
end | The end date of the selection range. |
Bindable components implement this interface. |
Controls that support drag & drop operations implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
start
The first date/time value in the range.
end
The last date/time value in the range.
range
The first and last date/time value in the range.
sender | The source of the event. |
e | A that contains the event data. |
Fired when the date shown in the changes. |
Fired when the user changes the selected date or range. |
Fired when the displayed range changes. |
lower |
upper |
range |
The location of the on its parent control.
The size of the .
Provides access to the property for coontrols that support the read-only mode.
All wisej controls derived from the class must implement this interface.
The starting date in the .
The ending date in the .
The existing .