FullCalendar
Wisej.Web.Ext.FullCalendar.FullCalendar
Namespace: Wisej.Web.Ext.FullCalendar
Assembly: Wisej.Web.Ext.FullCalendar (3.2.0.0)
FullCalendar is a drag-n-drop widget for displaying events on a full-sized calendar based on the open-source fullcalendar.io. See http://fullcalendar.io/.
public class FullCalendar : Widget, IWisejDataStorePublic Class FullCalendar
Inherits Widget
Implements IWisejDataStoreThe FullCalendar JavaScript component is developed by Adam Shaw and released under the MIT license: http://fullcalendar.io/license/.
Constructors
FullCalendar()
Constructs a new instance of the FullCalendar control.
Properties
AllDaySlot
Boolean: Determines if the "all-day" slot is displayed at the top of the calendar. (Default: True)
AllDayText
String: Returns or sets the text titling the "all-day" slot at the top of the calendar.
BusinessHours
BusinessHours[]: Emphasizes certain time slots on the calendar. By default, Monday-Friday, 9am-5pm. (Default: null)
CurrentDate
DateTime: Returns or sets the current value that is used by the FullCalendar to display the current view.
Editable
Boolean: Determines whether the events on the calendar can be modified. (Default: True)
EventBackgroundColor
Color: Sets the background color for all events in the calendar. (Default: Color [Empty])
EventBorderColor
Color: Sets the border color for all events on the calendar. (Default: Color [Empty])
EventLimit
Int32: Limits the number of events displayed on a day. (Default: 0)
When there are too many events, a link that looks like "+2 more" is displayed. The exact action that happens when the user clicks the link is determined by EventLimitClick.
Events
EventCollection: Returns the collection of Event managed by this FullCalendar control.
EventTextColor
Color: Sets the border color for all events on the calendar. (Default: Color [Empty])
FirstDayOfWeek
Day: Returns or sets the first day of the week as displayed in the FullCalendar. (Default: Default)
HeaderFormats
ColumnHeaderFormats: Determines the formatting of the column headers in the different views using momentjs format patterns: http://momentjs.com/docs/#/displaying/format/.
InitScript
String: Overridden to create our initialization script.
MaxTime
TimeSpan: Determines the end time (exclusively) that will be displayed, even when the scrollbars have been scrolled all the way down.
MinTime
TimeSpan: Determines the starting time that will be displayed, even when the scrollbars have been scrolled all the way up.
NextDayThreshold
TimeSpan: Determines the next-day threshold time.
When an event's end time spans into another day, this is the minimum time it must be in order for it to render as if it were on that day. Only affects timed events that appear on whole-days. Whole-day cells occur in month view, basicDay, basicWeek and the all-day slots in the agenda views.
NoEventsMessage
String: Returns or sets the message to display in one of the list views when there are no events to display.
Options
Object: Overridden, not used.
Packages
List<Package>: Overridden to return our list of script resources.
ResourceAreaWidth
String: Determines the width of the area that contains the list of resources. Requires the SchedulerLicenseKey to be set to a valid license or to a GPL or CC license. (Default: "30%")
ResourceLabelText
String: Returns or sets the text that will appear above the list of resources. Requires the SchedulerLicenseKey to be set to a valid license or to a GPL or CC license. (Default: "Resources")
Resources
Resource[]: Returns or sets the scheduler resources. Requires the SchedulerLicenseKey to be set to a valid license or to a GPL or CC license. (Default: null)
SchedulerLicenseKey
String: License key for the scheduler plug-in. See scheduler. (Default: "")
Use "GPL-My-Project-Is-Open-Source" for GPL projects, or "CC-Attribution-NonCommercial-NoDerivatives" for non commercial projects.
ScrollTime
TimeSpan: Determines how far down the scroll pane is initially scrolled down.
ShowCurrentTime
Boolean: Determines whether or not to display a marker indicating the current time. (Default: True)
SlotDuration
TimeSpan: Determines the frequency for displaying time slots.
SlotEventOverlap
Boolean: Determines if timed events in agenda view should visually overlap. (Default: True)
SlotLabelFormat
String: Determines the time-text that will be displayed on the vertical axis of the agenda views using momentjs format patterns: http://momentjs.com/docs/#/displaying/format/.
SlotLabelInterval
TimeSpan: Determines how often the time-axis is labeled with text displaying the date/time of slots..
If not specified, this value is automatically computed from slotDuration. With slotDuration's default value of 30 minutes, this value will be 1 hour.
ThemeSystem
ThemeSystem: Determines the theme system used by the calendar. (Default: Standard)
The ThemeSystem property can be one of these values:
Standard Renders the built-in look & feel.
Bootstrap3 Supports Bootstrap 3 themes.The Bootstrap CSS file must be loaded separately in its own link tag.
jQueryUI Supports jQuery UI themes. The jQuery UI CSS file must be loaded separately loaded in its own link tag.
TimeFormat
String: Determines the time-text that will be displayed on each event using momentjs format patterns: http://momentjs.com/docs/#/displaying/format/. (Default: null)
Sets time format to display on the events.
this.TimeFormat = "h:mm"; // shows 5:00
this.TimeFormat = "h(:mm)t"; // shows 5p
TodayDate
DateTime: Returns or sets the value that is used by FullCalendar as today's date.
View
ViewType: Determines which view the calendar uses to display the events. (Default: Month)
VirtualSize
Int32: Returns or sets the number of Event objects contained in the list when in virtual mode. (Default: 0)
Throws:
ArgumentException VirtualSize is set to a value less than 0.
Methods
GotoDate(dateTime)
Moves the calendar to an arbitrary date.
Next()
Moves the calendar one step forward (either by a month, week, or day).
If the calendar is in month view, will move the calendar forward one month. If the calendar is in basicWeek or agendaWeek, will move the calendar forward one week. If the calendar is in basicDay or agendaDay, will move the calendar forward one day.
NextYear()
Moves the calendar forward one year.
Previous()
Moves the calendar one step back (either by a month, week, or day).
If the calendar is in month view, will move the calendar back one month. If the calendar is in basicWeek or agendaWeek, will move the calendar back one week. If the calendar is in basicDay or agendaDay, will move the calendar back one day.
PreviousYear()
Moves the calendar back one year.
Today()
Moves the calendar to the current date.
Events
CurrentDateChanged
EventHandler Triggered when the current date used to display the calendar view is changed.
DayClick
DayClickEventHandler Triggered when the user clicks a day in the calendar.
DayDoubleClick
DayClickEventHandler Triggered when the user double clicks a day in the calendar.
EventChanged
EventValueEventHandler Triggered when the user changed (dragged or resized) an Event object.
EventClick
EventClickEventHandler Triggered when the user clicks an event.
EventDoubleClick
EventClickEventHandler Triggered when the user double clicks an event.
ItemDrop
ItemDropEventHandler Triggered when the user drops an object on the calendar.
ResourceChanged
ResourceEventHandler Triggered when the a Resource object changes.
RetrieveVirtualEvent
RetrieveVirtualEventEventHandler Triggered when VirtualMode is true and the control needs to retrieve a specific virtual event instance.
VirtualEventsNeeded
VirtualEventsNeededEventHandler Triggered when VirtualMode is true and the control needs to populate the events on a certain date, week or month.
The application should manage and cache the events that are returned in response to this event.
Last updated
Was this helpful?