The DayPilotCalendar type exposes the following members.

Properties

  NameDescription
Public propertyAccessKey (Inherited from WebControl.)
Protected propertyAdapter (Inherited from Control.)
Public propertyAfterEventRenderJavaScript
The JavaScript code that will be executed after rendering an event on the client side. Two variables are available: e (Event object), div (event DIV element).
Public propertyAfterRenderJavaScript
The JavaScript code that will be executed after client-side rendering is finished (initial, after PostBack, or CallBack).
Public propertyAllDayEnd
Whether the end of all-day event is specified by date only or by full date and time.
Public propertyAllDayEventBackColor
Determines the background color of all-day events.
Public propertyAllDayEventBorderColor
Color of an all-day event border.
Public propertyAllDayEventFontColor
Color of the all-day event font.
Public propertyAllDayEventFontFamily
Font family of the all-day event text, e.g. "Tahoma".
Public propertyAllDayEventFontSize
Font size of the all-day event text, e.g. "8pt".
Public propertyAllDayEventHeight
Determines the height of an all-day event.
Public propertyAllowEventOverlap
Allows or forbids overlap of the shadow (or selection) during move, resize and time range selection operation.
Public propertyAllowMultiSelect
Allows selecting multiple events (using Ctrl + click).
Public propertyAppRelativeTemplateSourceDirectory (Inherited from Control.)
Public propertyAttributes (Inherited from WebControl.)
Public propertyAutoRefreshCommand
The command that will be passed to Command event during automatic refresh.
Public propertyAutoRefreshEnabled
Enables the AutoRefresh feature.
Public propertyAutoRefreshInterval
Auto-refresh interval in seconds. Minimum 10 seconds.
Public propertyAutoRefreshMaxCount
Maximum auto-refresh count (after inactivity).
Public propertyBackColor
Gets or sets the color of business background cells.
(Overrides WebControl..::..BackColor.)
Public propertyBindingContainer (Inherited from Control.)
Public propertyBorderColor
Gets or sets the border color of the Web control.
(Overrides WebControl..::..BorderColor.)
Public propertyBorderStyle (Inherited from WebControl.)
Public propertyBorderWidth (Inherited from WebControl.)
Public propertyBubbleID
ID of the advanced tooltip control (DayPilotBubble) that will be used for calendar events.
Public propertyBusinessBeginsHour
Gets or sets the start of the business day (in hours).
Public propertyBusinessEndsHour
Gets or sets the end of the business day (hours).
Public propertyCalendar
Public propertyCallBack
A shortcut for all properties that can be modified during a CallBack update.
Public propertyCallBackErrorJavaScript
Gets or sets the Javascript code that is executed on error during AJAX callback.
Public propertyCellBorderColor
Color of the inner vertical border.
Public propertyCellBubbleID
ID of the advanced tooltip control (DayPilotBubble) that will be used for cells.
Public propertyCellDuration
Duration of a time cell in minutes.
Public propertyCellHeight
Gets or sets the height of the time cells in pixels. Minimum height is 15.
Public propertyCellSelectColor
Gets or sets the color of the time range selection.
Public propertyCellsPerHour Obsolete.
Number of time cells in one hour. Allowed values: 1, 2, 3, 4, 5, 6, 10, 12.
Public propertyClientID (Inherited from Control.)
Protected propertyClientIDSeparator (Inherited from Control.)
Public propertyClientObjectName
JavaScript instance name on the client-side. If it is not specified the control ClientID will be used.
Public propertyClientState
Object saved to clientState field on the client side.
Public propertyColumnBubbleID
ID of the advanced tooltip control (DayPilotBubble) that will be used for column headers.
Public propertyColumnMarginRight
Width of the right margin inside a column (in pixels).
Public propertyColumns
Collection of columns that will be used when ViewType property is set to ViewTypeEnum.Resources.
Public propertyColumnWidth
Column width for ColumnWidthSpec=Fixed mode.
Public propertyColumnWidthSpec
How the column width is determined (Fixed, see ColumnWidth; Auto - calculated to fit the width).
Protected propertyContext (Inherited from Control.)
Public propertyContextMenuID
ID of the DayPilotMenu control that will be used for context menu. If no ID is specified, the context menu will be disabled.
Public propertyContextMenuSelectionID
ID of the DayPilotMenu control that will be used for context menu. If no ID is specified, the context menu will be disabled.
Public propertyControls (Inherited from Control.)
Public propertyControlStyle (Inherited from WebControl.)
Public propertyControlStyleCreated (Inherited from WebControl.)
Public propertyCornerBackColor
Background color of the upper-left corner.
Public propertyCornerHtml
HTML of the upper-left corner.
Public propertyCrosshair
Crosshair type.
Public propertyCrosshairColor
Color of the crosshair.
Public propertyCrosshairOpacity
Crosshair opacity in percent.
Public propertyCssClass Obsolete.
Specifies the CSS class that contains style definitions for this control.
(Overrides WebControl..::..CssClass.)
Public propertyCssClassPrefix Obsolete.
Specifies the prefix of the CSS classes that contain style definitions for the elements of this control.
Public propertyCssOnly Obsolete.
Whether to ignore all style properties. Only CSS styling will be used.
Public propertyDataAllDayField
Name of the data source field that contains true for all-day events.
Public propertyDataColumnField
Gets or sets the name of the column that contains the primary key. The primary key will be used for rendering the custom JavaScript actions.
Public propertyDataEndField
Gets or sets the name of the column that contains the event ending date and time (must be convertible to DateTime).
Public propertyDataIdField
Gets or sets the name of the column that contains the id (primary key).
Public propertyDataMember (Inherited from DataBoundControl.)
Public propertyDataRecurrenceField
Name of the data source field that contains recurrence information string.
Public propertyDataServerTagFields
Gets or sets the name of the fields that contain the custom event data. These fields will be only accessible in the BeforeEventRender event handler.
Public propertyDataSource (Inherited from BaseDataBoundControl.)
Public propertyDataSourceID (Inherited from DataBoundControl.)
Public propertyDataSourceObject (Inherited from DataBoundControl.)
Public propertyDataStartField
Gets or sets the name of the column that contains the event starting date and time (must be convertible to DateTime).
Public propertyDataTagFields
Gets or sets the name of the column that contains the custom event data.
Public propertyDataTextField
Gets or sets the name of the column that contains the name of an event.
Public propertyDataValueField Obsolete.
Gets or sets the name of the column that contains the id (primary key). Obsolete. Use .DataIdField instead.
Public propertyDayBeginsHour
Gets or sets the start of the day column (hour from 0 to 23).
Public propertyDayEndsHour
Gets or sets the end of the day column (hour from 0 to 24).
Public propertyDays
Gets or sets the number of days to be displayed. Default is 1.
Protected propertyDesignMode (Inherited from Control.)
Public propertyDirection
Calendar direction (RTL/LTR).
Public propertyDoubleClickTimeout
Double-click timeout in milliseconds.
Public propertyDurationBarColor
Color of the vertical bar on the left side of an event.
Public propertyDurationBarImageUrl
Background image URL for the duration bar on the left side of an event.
Public propertyDurationBarVisible
Whether the color bar on the left side of and event should be visible.
Public propertyDurationBarWidth
Width of the duration bar on the left side of an event.
Public propertyEnabled (Inherited from WebControl.)
Public propertyEnableTheming (Inherited from WebControl.)
Public propertyEnableViewState (Inherited from Control.)
Public propertyEndDate
Gets the last day to be shown.
Public propertyEventArrangement
Concurrent events arrangement: side by side or cascading.
Public propertyEventBackColor
Color of an event background.
Public propertyEventBorderColor
Color of an event border.
Public propertyEventClickHandling
Handling of user action (clicking an event).
Public propertyEventClickJavaScript
Gets or sets the Javascript code that is executed when the user clicks an event.
Public propertyEventCorners
Corner look: regular or rounded.
Public propertyEventDeleteHandling
Handling of event delete action.
Public propertyEventDeleteJavaScript
Gets or sets the Javascript code that is executed when the users clicks the delete icon.
Public propertyEventDoubleClickHandling
Handling of user action (double-clicking an event).
Public propertyEventDoubleClickJavaScript
Gets or sets the Javascript code that is executed when the user double-clicks an event.
Public propertyEventEditHandling
Determines the action to be executed after a user moves an event. If set to Disabled editing is not enabled on the client side.
Public propertyEventEditJavaScript
Gets or sets the Javascript function that is executed after a users edits an event. This code is executed when EventEditHandling is set to JavaScript.
Public propertyEventFontColor
Color of event font.
Public propertyEventFontFamily
Font family of the event text, e.g. "Tahoma".
Public propertyEventFontSize
Font size of the event text, e.g. "8pt".
Public propertyEventHeaderFontColor
Event header font color.
Public propertyEventHeaderFontSize
Font size of the event header.
Public propertyEventHeaderHeight
Event header height in pixels.
Public propertyEventHeaderVisible
Whether the event should have a header at the top.
Public propertyEventHoverColor Obsolete.
Public propertyEventHoverHandling
What to do when mouse hovers over an event.
Public propertyEventMoveHandling
Determines the action to be executed after a user moves an event. If set to Disabled moving is not enabled on the client side.
Public propertyEventMoveJavaScript
Gets or sets the Javascript code that is executed when a user moves an event.
Public propertyEventResizeHandling
Determines the action to be executed after a user resizes an event. If set to Disabled resizing is not enabled on the client side.
Public propertyEventResizeJavaScript
Gets or sets the Javascript function that is executed when a user moves an event.
Public propertyEventRightClickHandling
Handling of user action (right mouse click on an event).
Public propertyEventRightClickJavaScript
Gets or sets the Javascript code that is executed when the user clicks an event.
Protected propertyEvents (Inherited from Control.)
Public propertyEventSelectColor
Determines the color of the event border that indicates that the event is selected.
Public propertyEventSelectHandling
Handling of user action (selecting an event).
Public propertyEventSelectJavaScript
Gets or sets the Javascript code that is executed when the user selects an event.
Public propertyEventSortExpression
Sorting expression for cell stacking mode, e.g. 'priority asc, name desc'.
Public propertyEventTapAndHoldHandling
Specifies action that should be performed for a touch 'tap and hold' gesture.
Public propertyFont (Inherited from WebControl.)
Public propertyForeColor (Inherited from WebControl.)
Public propertyHasAttributes (Inherited from WebControl.)
Protected propertyHasChildViewState (Inherited from Control.)
Public propertyHeaderClickHandling
Handling of column header click.
Public propertyHeaderClickJavaScript
Gets or sets the Javascript code that is executed when the user clicks a column header.
Public propertyHeaderDateFormat
Gets or sets the format of the date display in the header columns.
Public propertyHeaderFontColor
Color of the column header font.
Public propertyHeaderFontFamily
Font family of the column header, e.g. "Tahoma".
Public propertyHeaderFontSize
Font size of the column header, e.g. "10pt".
Public propertyHeaderHeight
Gets or sets whether the header should be visible.
Public propertyHeaderHeightAutoFit
Whether to increase the header header height automatically to fit the content.
Public propertyHeaderLevels
How many header levels will be shown (from Columns collection, in Resource mode only).
Public propertyHeight
Sets or get the height of the scrolling area (in pixels). It only applies when HeightSpec is set to HeightSpecEnum.Fixed.
Public propertyHeightSpec
Sets or get the way how the height of the scrolling area is determined. It can be either Fixed (height specified by Height in pixels is used), Full (the full height, prevents scrolling), or BusinessHours (it always shows business hours in full and enables scrolling).
Public propertyHideFreeCells
Hide non-business cells if there are no events. Corresponds to NonBusinessHours="HideIfPossible" in DayPilot Lite.
Public propertyHourBorderColor
Color of the horizontal border that separates hour names.
Public propertyHourFontColor
Color of the hour header font.
Public propertyHourFontFamily
Font family of the hour titles on the left side, e.g. "Tahoma".
Public propertyHourFontSize
Font size of the hour titles on the left side e.g. "16pt".
Public propertyHourHalfBorderColor
Color of the border that separates time cells inside one hour.
Public propertyHourNameBackColor
Color of the hour names background.
Public propertyHourNameBorderColor
Color of the vertical border that separates our names.
Public propertyHourWidth
Gets or sets the width of an hour cell in pixels.
Public propertyHoverColor Obsolete.
Protected propertyChildControlsCreated (Inherited from Control.)
Public propertyID (Inherited from Control.)
Protected propertyIdSeparator (Inherited from Control.)
Protected propertyInitialized (Inherited from BaseDataBoundControl.)
Protected propertyIsBoundUsingDataSourceID (Inherited from BaseDataBoundControl.)
Protected propertyIsEnabled (Inherited from WebControl.)
Public propertyIsExport
True if the control is beign exported using Export() method. Useful inside Before__RenderEvent event handlers.
Protected propertyIsChildControlStateCleared (Inherited from Control.)
Protected propertyIsTrackingViewState (Inherited from Control.)
Protected propertyIsViewStateEnabled (Inherited from Control.)
Public propertyLayout
Determines which layout should be used (old table-based, new div-based).
Public propertyLoadingLabelBackColor
Color of the Loading label background.
Public propertyLoadingLabelFontColor
Color of the Loading label text.
Public propertyLoadingLabelFontFamily
Font family of the Loading label text, e.g. \"Tahoma\".
Public propertyLoadingLabelFontSize
Font size of Loading label text, e.g. '10pt'.
Public propertyLoadingLabelText
The text of the 'Loading...' label.
Public propertyLoadingLabelVisible
Whether the 'Loading...' label is visible.
Protected propertyLoadViewStateByID (Inherited from Control.)
Public propertyMessageHideAfter
The timeout delay of the message bar (in milliseconds).
Public propertyMoveBy
Which event border shoud be used for moving.
Public propertyNamingContainer (Inherited from Control.)
Public propertyNonBusinessBackColor
Background color of time cells outside of the busines hours.
Public propertyNotifyCommit
Public propertyPage (Inherited from Control.)
Public propertyParent (Inherited from Control.)
Public propertyRecurrentEventExceptionImage
URL of the image that indicate a recurring event (exception from the series).
Public propertyRecurrentEventImage
URL of the image that indicate a recurring event.
Protected propertyRequiresDataBinding (Inherited from BaseDataBoundControl.)
Public propertyResourcesPath
Directory part of the URL where static resources are located (ending with a slash). E.g. "/resources/".
Public propertyResourcesStatic
Whether the resources (.js and image files) should be loaded statically (from a directory specified in ResourcesPath).
Public propertyScrollDownLabelText Obsolete.
The text of the 'scroll down' label.
Public propertyScrollLabelsVisible
Whether the scroll labels ('Scroll up', 'Scroll down') are visible.
Public propertyScrollPositionHour
Sets or get the starting scroll position of the scrolling area (in hours). Does not apply when HeightSpec is set to HeightSpecEnum.Full or HeightSpecEnum.BusinessHoursNoScroll.
Public propertyScrollUpLabelText Obsolete.
The text of the 'scroll up' label.
Public propertyScrollY
Gets the current vertical scrollbar position in pixels.
Protected propertySelectArguments (Inherited from DataBoundControl.)
Public propertySelectedEventValue
Width of the right margin inside a column (in pixels).
Public propertyShadow
Type of the event shadow that is used for moving and resizing. "Fill" is a semi-transparent rectangle (default). "Outline" is a dotted outline.
Public propertyShowAllDayEvents
Determines whether the extra row for all-day events will be visible.
Public propertyShowAllDayEventStartEnd
Whether to show the all-day event start and end times.
Public propertyShowCurrentTime
Public propertyShowEventStartEnd
Whether to show the event start and end times.
Public propertyShowHeader
Gets or sets whether the header should be visible.
Public propertyShowHours
Determines whether the hour names column is visible.
Public propertyShowToolTip
Determines whether the event tooltip is active.
Public propertySite (Inherited from Control.)
Public propertySkinID (Inherited from WebControl.)
Public propertyStartDate
Gets or sets the first day to be shown. Default is DateTime.Today.
Public propertyStoreEventsInViewState
Whether the events should be stored in the ViewState.
Public propertyStyle (Inherited from WebControl.)
Public propertyTabIndex (Inherited from WebControl.)
Protected propertyTagKey (Inherited from WebControl.)
Protected propertyTagName (Inherited from WebControl.)
Public propertyTemplateControl (Inherited from Control.)
Public propertyTemplateSourceDirectory (Inherited from Control.)
Public propertyTheme
Specifies the CSS theme.
Public propertyTimeFormat
Gets or sets the time-format for hour numbers (on the left).
Public propertyTimeHeaderCellDuration
Duration of a time header cell in minutes. Maximum value is 60, must be divisible by CellDuration.
Public propertyTimeRangeDoubleClickHandling
Determines time range double click handling.
Public propertyTimeRangeDoubleClickJavaScript
Javascript code that is executed when the double clicks a selected time range.
Public propertyTimeRangeSelectedHandling
Handling of user action (clicking a free-time slot).
Public propertyTimeRangeSelectedJavaScript
Gets or sets the Javascript code that is executed when a user selects a time range.
Public propertyTimeRangeTapAndHoldHandling
Specifies action that should be performed for a touch 'tap and hold' gesture.
Public propertyToolTip (Inherited from WebControl.)
Public propertyUniqueID (Inherited from Control.)
Public propertyUseEventBoxes
When set to Always (default) events are shown in boxes that are aligned with the cell size. Set to Never or ShortEventsOnly if you want to show events in real length.
Public propertyUseEventSelectionBars
Allows selecting multiple events (using Ctrl + click).
Protected propertyViewState (Inherited from Control.)
Protected propertyViewStateIgnoresCase (Inherited from Control.)
Public propertyViewType
Sets or gets the view type (day, week, custom number of days, custom column set). If set to ViewTypeEnum.Resources and you use data binding you have to specify DataColumnField property.
Public propertyVisible (Inherited from Control.)
Public propertyVisibleEnd
This is only a relative time. The date part should be ignored.
Public propertyVisibleStart
This is only a relative time. The date part should be ignored.
Public propertyWeekStarts
Determines the first day of week (Sunday/Monday/Auto).
Public propertyWidth
Calendar width. If not specified, display:block behavior will be used.
(Overrides WebControl..::..Width.)

See Also