The Calendar control serves as a view in document-view architecture, where the document is implemented by the Schedule class. The Calendar provides several schedule related views, such as Month, List, Timetable, that present the scheduled events in different styles and layouts.
The following tables list the members exposed by the Calendar type.
Name | Description | |
---|---|---|
Overloaded. Initializes a new instance of the Calendar class. |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether the control scrolls automatically its contents when users drag items near the edge of the client rectangle. |
||
Gets or sets a value indicating whether tapping and holding over an item or an empty cell will display a context menu. |
||
Gets or sets a value indicating whether users are allowed to edit items interactively. |
||
Gets or set the offset of the navigation buttons, displayed in the views' headers. |
||
Gets or sets the size of the navigation buttons, displayed in the views' headers. |
||
Gets or sets how to format and display contact names in the timetable header. |
||
Gets the contacts whose schedule to display when GroupType is set to GroupByContacts. |
||
Gets or sets the CultureInfo object used to format and display time information in the calendar. |
||
Gets or sets the current time. When this property is set to DateTime.MinValue, the actual system time is returned. |
||
Gets or sets the type of the calendar view. |
||
Gets or sets which UI elements of the calendar should be custom drawn. |
||
Gets or sets the custom theme applied to the control. |
||
Gets or sets the date currently displayed in the calendar. |
||
Gets or sets the DateTimeFormatInfo object that specifies how to format and display all dates within the calendar. |
||
Gets a collection of DayOfWeekStyle objects that allow customizing the appearance of specific days of the week in the calendar. |
||
Gets a collection of DateStyle objects that allow customizing the appearance of specific days in the calendar. |
||
Gets or sets how the calendar responds to users touching and dragging over empty cells. |
||
Gets or sets a value indicating whether to update the position of items dragged over areas which do not allow items. |
||
Gets or sets a value indicating whether to use antialiasing when rendering |
||
Gets or sets a value indicating whether the selected cells should be automatically brought into view. |
||
Gets or sets the first weekend day in the calendar. |
||
Gets or sets the grouping criteria for the Timetable and List views. |
||
Gets or sets the type of a Item-derived class whose instance should be created when a user starts typing while the calendar control has the keyboard focus. |
||
Gets or sets a flag indicating whether the calendar is in a Right-to-Left mode. |
||
Gets a collection with all effects applied to the elements of this calendar. |
||
Gets a list of all selected items. |
||
Gets the ItemSettings object used to customize the visualization of schedule items in all calendar views. |
||
Gets or sets a value indicating whether the item selection is preserved when an item from the selection is clicked. |
||
Gets or sets the license key of the control. |
||
Gets the ListViewSettings object used to customize the visualization of the List view. |
||
Gets or sets the LocalizationInfo object containing the settings used to customize various UI controls within the calendar. |
||
Gets the locations whose schedule to display in the timetable when GroupType is set to GroupByLocations. |
||
Gets or sets the size of the context menu, in device-independent pixels. |
||
Gets or sets the minimal length of interactively created items, expressed in minutes. |
||
Gets the MonthSettings object used to customize the visualization of months in a Month view. |
||
Gets a collection of DateStyle objects that allow customizing the appearance of specific months in the calendar. |
||
Gets the resources whose schedule to display in the control when GroupType is set to GroupByResources. |
||
Gets the ResourceViewSettings object used to customize the visualization of a Resource view. |
||
Gets or sets the schedule whose information should be displayed inside the calendar control. |
||
Gets or sets the current horizontal scroll position. |
||
Gets or sets the current vertical scroll position. |
||
Gets or sets the distance from the edge of the view where user interactions would trigger autoscrolling. |
||
Gets a Selection object representing the current selection in the calendar. |
||
Gets or sets the System.Globalization.Calendar object to use when displaying dates in the control. |
||
Gets the tasks whose schedule to display in the control when GroupType is set to GroupByTasks. |
||
Gets or sets the theme applied to the calendar control UI elements. |
||
Gets the TimetableSettings object used to customize the visualization of days and hours in Timetable view. |
||
Gets the WeekRangeSettings object used to customize the visualization of the WeekRange view. |
Name | Description | |
---|---|---|
Overloaded. Applies a Theme to the calendar. |
||
Starts in-place editing mode for the specified item to let users edit the item's text. |
||
Implements the ISupportInitialize.BeginInit method. Call this method before making several consecutive changes to the control to suppress internal updates, but don't forget to invoke EndInit at the end. |
||
Overloaded. Collapses the row associated with the specified resource. |
||
Overloaded. Reassigns new lane indices to schedule items. |
||
Implements the ISupportInitialize.EndInit method. Call this method to signal that object initialization started with BeginInit is complete. |
||
Overloaded. Ensures that the specified date or item is visible within the control, scrolling the contents of the control if necessary. |
||
Overloaded. Expands the row associated with the specified resource. |
||
Overloaded. Gets the Contact object whose schedule is displayed at a specified coordinates. |
||
Gets the calendar's cell content bounds. |
||
Overloaded. Returns the date of the calendar cell located at the specified coordinates. |
||
Gets the bounding rectangle of a particular calendar element. |
||
Overloaded. Returns the date located at a specified position. |
||
Gets the first date of the time range displayed in the calendar. |
||
Determines which is the first visible date in the current view. |
||
Determines which is the first visible resource in the current view. |
||
For internal use. |
||
Overloaded. Gets the scheduled Item object displayed at a specified coordinates. |
||
Retrieves the bounding rectangle of the specified item. |
||
Gets the index of the lane of the specified item within a List view whose FreeDrag property is enabled. |
||
Gets the last date of the time range displayed in the calendar. |
||
Determines which is the last visible date in the current view. |
||
Determines which is the last visible resource in the current view. |
||
Retrieves the index of the List view lane at the specified point, expressed in client coordinates. |
||
Overloaded. Gets the Location object whose schedule is displayed at a specified coordinates. |
||
Overloaded. Gets the Resource object whose schedule is displayed at a specified coordinates. |
||
Overloaded. Gets the Task object whose schedule is displayed at a specified coordinates. |
||
Retrieves a collection with all currently visible items. |
||
Invoked to handle long press interactions. |
||
Invoked to handle touch down interactions. |
||
Invoked to handle touch move interactions. |
||
Invoked to handle touch up interactions. |
||
Overloaded. Repaints the control. |
||
Overloaded. Checks whether the row associated with the specified resource in a Resource view is expanded. |
||
Loads schedule data from the specified file. |
||
Loads the view settings under the specified name from the specified XML document. |
||
Draws the calendar to the specified graphics. |
||
If there is a drag operation in progress, it is canceled. |
||
Resets the view-related item data contained in the underlying schedule. For example, items moved around in a list view with enabled FreeDrag property have their relative positions within the view reset. |
||
Resumes the previously paused drag operation. |
||
Saves the underlying schedule to the specified file. |
||
Saves the view settings to the specified XML document under the specified name. |
||
Sets the lane index for the specified item within a List view whose FreeDrag property is enabled. |
||
For internal use. |
||
Sets the displayed time interval to the specified range, optionally changing the view resolution. If the interval is outside of the view range, the view range is expanded to include the interval. |
||
Returns a new date representing the the specified date when snapped according to the current Resource View settings. |
||
Temporarily pauses the current drag operation. |
||
Forces an update of the control. |
||
Updates the position of the calendar's child controls such as buttons and scrollbars. |
Name | Description | |
---|---|---|
Raises the BeginItemDrawing event. |
||
Raises the CustomizeText event. |
||
Raises the DateClick event. |
||
Raises the Draw event. |
||
Raises the Drawing event. |
||
Raises the EndItemDrawing event. |
||
Raises the FilterItem event. |
||
Raises the ItemClick event. |
||
Raises the ItemCreated event. |
||
Raises the ItemCreating event. |
||
Raises the ItemDeleted event. |
||
Raises the ItemDeleting event. |
||
Raises the ItemDeselecting event. |
||
Raises the ItemDrawing event. |
||
Raises the ItemInplaceEdited event. |
||
Raises the ItemInplaceEditEnding event. |
||
Raises the ItemInplaceEditStarting event. |
||
Raises the ItemListLaneChanged event. |
||
Raises the ItemModificationCanceled event. |
||
Raises the ItemModified event. |
||
Raises the ItemModifying event. |
||
Raises the ItemSelecting event. |
||
Raises the ItemSelectionChanged event. |
||
Raises the ItemSelectionComplete event. |
||
Raises the ItemsModified event. |
||
Raises the ListViewHeaderClick event. |
||
Raises the MenuCreated event. |
||
Raises the MonthCellClick event. |
||
Raises the MonthHeaderClick event. |
||
Raises the MonthWeekHeaderClick event. |
||
Raises the RecurringItemDeleting event. |
||
Raises the Repaint event. |
||
Raises the ResourceViewBottomTimelineClick event. |
||
Raises the ResourceViewMiddleTimelineClick event. |
||
Raises the ResourceViewRowHeaderClick event. |
||
Raises the ResourceViewTopTimelineClick event. |
||
Raises the Scroll event. |
||
AbsoluteLayout.OnSizeAllocated override. |
||
Raises the TimetableColumnHeaderClick event. |
||
Raises the VisibleDateChanged event. |
Name | Description | |
---|---|---|
Raised before the items are drawn in the current drawing pass. |
||
Raised to allow text customization of various calendar elements. |
||
Raised when the user clicks a date cell in the calendar. |
||
Raised to allow custom drawing of calendar UI elements. |
||
Raised to allow custom drawing of calendar elements before the default rendering done by the control. |
||
Raised after the items are drawn in the current drawing pass. |
||
Raised to allow filtering specific items from the view. |
||
Raised when the user clicks a schedule item. |
||
Raised when a schedule item is created by the user. |
||
Raised when the user is about to create a new schedule item. |
||
Raised when the user deletes a schedule item. |
||
Raised when the user is about to delete a schedule item. |
||
Raised when an item is about to be deselected. |
||
Raised to allow custom drawing of calendar items before the default rendering done by the control. |
||
Raised when item's text is in-place edited. |
||
Raised when in-place editing of item's text is about to be accepted. |
||
Raised when in-place editing of item's text is about to begin. |
||
Raised when the lane index of an item within a List view has changed. |
||
Raised when an item modification is canceled by the user. |
||
Raised when a schedule item is moved or resized by the user. |
||
Raised when the user moves or resizes a schedule item, which would change the item's scheduled start or end date and time. |
||
Raised when an item is about to be selected. |
||
Raised when an item is selected or deselected. |
||
Raised when an item is selected or deselected. |
||
Raised when one or more items have been modified interactively. |
||
Raised when the header of a List view is clicked. |
||
Raised when the context menu for an item is displayed. |
||
Raised when the user clicks on a month cell in a Month view. |
||
Raised when the header of a Month view is clicked. |
||
Raised when a cell in the week header of a Month view is clicked. |
||
Raised when the user is about to delete a recurring item. |
||
Raised when the calendar should be repainted. |
||
Raised when the bottom timeline of a Resource view is clicked. |
||
Raised when the middle timeline of a Resource view is clicked. |
||
Raised when the header of a Resource view row is clicked. |
||
Raised when the top timeline of a Resource view is clicked. |
||
Raised when the value of a scrollbar has changed. |
||
Raised when the header of a Timetable column is clicked. |
||
Raised when the user selects another date using the month or year navigation controls on the calendar header area. |