The DayPilotCalendar type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AccessKey | Gets or sets the access key that allows you to quickly navigate to the Web server control. (Inherited from WebControl.) | |
| Adapter | Gets the browser-specific adapter for the control. (Inherited from Control.) | |
| AfterEventRenderJavaScript |
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).
| |
| AfterRenderJavaScript |
The JavaScript code that will be executed after client-side rendering is finished (initial, after PostBack, or CallBack).
| |
| AllDayEventBackColor |
Determines the background color of all-day events.
| |
| AllDayEventHeight |
Determines the height of an all-day event.
| |
| AppRelativeTemplateSourceDirectory | Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. (Inherited from Control.) | |
| Attributes | Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. (Inherited from WebControl.) | |
| BackColor |
Gets or sets the background color of the Web server control.
(Overrides WebControl..::.BackColor.) | |
| BindingContainer | Gets the control that contains this control's data binding. (Inherited from Control.) | |
| BorderColor |
Gets or sets the border color of the Web control.
(Overrides WebControl..::.BorderColor.) | |
| BorderStyle | Gets or sets the border style of the Web server control. (Inherited from WebControl.) | |
| BorderWidth | Gets or sets the border width of the Web server control. (Inherited from WebControl.) | |
| BubbleID | ||
| BusinessBeginsHour |
Gets or sets the start of the business day (in hours).
| |
| BusinessEndsHour |
Gets or sets the end of the business day (hours).
| |
| CallBackErrorJavaScript |
Gets or sets the Javascript code that is executed on error during AJAX callback.
| |
| CellHeight |
Gets or sets the height of the time cells in pixels. Minimum height is 15.
| |
| CellSelectColor |
Gets or sets the color of the time range selection.
| |
| CellsPerHour |
Number of time cells in one hour. Allowed values: 1, 2, 3, 4, 5, 6, 10, 12.
| |
| ClientID | Gets the server control identifier generated by ASP.NET. (Inherited from Control.) | |
| ClientIDSeparator | Gets a character value representing the separator character used in the ClientID property. (Inherited from Control.) | |
| ClientObjectName |
JavaScript instance name on the client-side. If it is not specified the control ClientID will be used.
| |
| ColumnMarginRight |
Width of the right margin inside a column (in pixels).
| |
| Columns |
Collection of columns that will be used when ViewType property is set to ViewTypeEnum.Resources.
| |
| Context | Gets the HttpContext object associated with the server control for the current Web request. (Inherited from Control.) | |
| ContextMenuID |
ID of the DayPilotMenu control that will be used for context menu. If no ID is specified, the context menu will be disabled.
| |
| ContextMenuSelectionID |
ID of the DayPilotMenu control that will be used for context menu. If no ID is specified, the context menu will be disabled.
| |
| Controls | Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. (Inherited from Control.) | |
| ControlStyle | Gets the style of the Web server control. This property is used primarily by control developers. (Inherited from WebControl.) | |
| ControlStyleCreated | Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers. (Inherited from WebControl.) | |
| CssClass | (Overrides WebControl..::.CssClass.) | |
| DataAllDayField | ||
| DataColumnField |
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.
| |
| DataEndField |
Gets or sets the name of the column that contains the event ending date and time (must be convertible to DateTime).
| |
| DataMember | Gets or sets the name of the list of data that the data-bound control binds to, in cases where the data source contains more than one distinct list of data items. (Inherited from DataBoundControl.) | |
| DataSource | Gets or sets the object from which the data-bound control retrieves its list of data items. (Inherited from BaseDataBoundControl.) | |
| DataSourceID | Gets or sets the ID of the control from which the data-bound control retrieves its list of data items. (Inherited from DataBoundControl.) | |
| DataStartField |
Gets or sets the name of the column that contains the event starting date and time (must be convertible to DateTime).
| |
| DataTagFields |
Gets or sets the name of the column that contains the custom event data.
| |
| DataTextField |
Gets or sets the name of the column that contains the name of an event.
| |
| DataValueField |
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.
| |
| Days |
Gets or sets the number of days to be displayed. Default is 1.
| |
| DesignMode | Gets a value indicating whether a control is being used on a design surface. (Inherited from Control.) | |
| Direction | ||
| DurationBarColor |
Color of the vertical bar on the left side of an event.
| |
| DurationBarVisible |
Whether the color bar on the left side of and event should be visible.
| |
| Enabled | Gets or sets a value indicating whether the Web server control is enabled. (Inherited from WebControl.) | |
| EnableTheming | Gets or sets a value indicating whether themes apply to this control. (Inherited from WebControl.) | |
| EnableViewState | Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. (Inherited from Control.) | |
| EndDate |
Gets the last day to be shown.
| |
| EventBackColor |
Color of an event background.
| |
| EventBorderColor |
Color of an event border.
| |
| EventClickHandling |
Handling of user action (clicking an event).
| |
| EventClickJavaScript |
Gets or sets the Javascript code that is executed when the user clicks an event.
| |
| EventDeleteHandling |
Handling of event delete action.
| |
| EventDeleteJavaScript |
Gets or sets the Javascript code that is executed when the users clicks the delete icon.
| |
| EventEditHandling |
Determines the action to be executed after a user moves an event. If set to Disabled editing is not enabled on the client side.
| |
| EventEditJavaScript |
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.
| |
| EventFontColor |
Color of event font.
| |
| EventFontFamily |
Font family of the event text, e.g. "Tahoma".
| |
| EventFontSize |
Font size of the event text, e.g. "8pt".
| |
| EventMoveHandling |
Determines the action to be executed after a user moves an event. If set to Disabled moving is not enabled on the client side.
| |
| EventMoveJavaScript |
Gets or sets the Javascript code that is executed when a user moves an event.
| |
| EventResizeHandling |
Determines the action to be executed after a user resizes an event. If set to Disabled resizing is not enabled on the client side.
| |
| EventResizeJavaScript |
Gets or sets the Javascript function that is executed when a user moves an event.
| |
| EventRightClickHandling |
Handling of user action (right mouse click on an event).
| |
| EventRightClickJavaScript |
Gets or sets the Javascript code that is executed when the user clicks an event.
| |
| Events | Gets a list of event handler delegates for the control. This property is read-only. (Inherited from Control.) | |
| EventSelectColor |
Determines the color of the event border that indicates that the event is selected.
| |
| EventSelectHandling |
Handling of user action (selecting an event).
| |
| EventSelectJavaScript |
Gets or sets the Javascript code that is executed when the user selects an event.
| |
| Font | Gets the font properties associated with the Web server control. (Inherited from WebControl.) | |
| ForeColor | Gets or sets the foreground color (typically the color of the text) of the Web server control. (Inherited from WebControl.) | |
| HasAttributes | Gets a value indicating whether the control has attributes set. (Inherited from WebControl.) | |
| HasChildViewState | Gets a value indicating whether the current server control's child controls have any saved view-state settings. (Inherited from Control.) | |
| HeaderClickHandling |
Handling of column header click.
| |
| HeaderClickJavaScript |
Gets or sets the Javascript code that is executed when the user clicks a column header.
| |
| HeaderDateFormat |
Gets or sets the format of the date display in the header columns.
| |
| HeaderFontColor |
Color of the column header font.
| |
| HeaderFontFamily |
Font family of the column header, e.g. "Tahoma".
| |
| HeaderFontSize |
Font size of the column header, e.g. "10pt".
| |
| HeaderHeight |
Gets or sets whether the header should be visible.
| |
| Height |
Sets or get the height of the scrolling area (in pixels). It only applies when HeightSpec is set to HeightSpecEnum.Fixed.
| |
| HeightSpec |
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).
| |
| HourBorderColor |
Color of the horizontal border that separates hour names.
| |
| HourFontColor |
Color of the hour header font.
| |
| HourFontFamily |
Font family of the hour titles on the left side, e.g. "Tahoma".
| |
| HourFontSize |
Font size of the hour titles on the left side e.g. "16pt".
| |
| HourHalfBorderColor |
Color of the border that separates time cells inside one hour.
| |
| HourNameBackColor |
Color of the hour names background.
| |
| HourNameBorderColor |
Color of the vertical border that separates our names.
| |
| HourWidth |
Gets or sets the width of an hour cell in pixels.
| |
| ChildControlsCreated | Gets a value that indicates whether the server control's child controls have been created. (Inherited from Control.) | |
| ID | Gets or sets the programmatic identifier assigned to the server control. (Inherited from Control.) | |
| IdSeparator | Gets the character used to separate control identifiers. (Inherited from Control.) | |
| Initialized | Gets a value indicating whether the data-bound control has been initialized. (Inherited from BaseDataBoundControl.) | |
| IsBoundUsingDataSourceID | Gets a value indicating whether the DataSourceID property is set. (Inherited from BaseDataBoundControl.) | |
| IsEnabled | Gets a value indicating whether the control is enabled. (Inherited from WebControl.) | |
| IsChildControlStateCleared | Gets a value indicating whether controls contained within this control have control state. (Inherited from Control.) | |
| IsTrackingViewState | Gets a value that indicates whether the server control is saving changes to its view state. (Inherited from Control.) | |
| IsViewStateEnabled | Gets a value indicating whether view state is enabled for this control. (Inherited from Control.) | |
| LoadingLabelText | ||
| LoadingLabelVisible | ||
| LoadViewStateByID | Gets a value indicating whether the control participates in loading its view state by ID instead of index. (Inherited from Control.) | |
| NamingContainer | Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value. (Inherited from Control.) | |
| NonBusinessBackColor |
Background color of time cells outside of the busines hours.
| |
| Page | Gets a reference to the Page instance that contains the server control. (Inherited from Control.) | |
| Parent | Gets a reference to the server control's parent control in the page control hierarchy. (Inherited from Control.) | |
| RequiresDataBinding | Gets or sets a value indicating whether the DataBind()()() method should be called. (Inherited from BaseDataBoundControl.) | |
| ScrollDownLabelText | ||
| ScrollLabelsVisible | ||
| ScrollPositionHour |
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.
| |
| ScrollUpLabelText | ||
| SelectArguments | Gets a DataSourceSelectArguments object that the data-bound control uses when retrieving data from a data source control. (Inherited from DataBoundControl.) | |
| SelectedEventValue |
Width of the right margin inside a column (in pixels).
| |
| ShowAllDayEvents |
Determines whether the extra row for all-day events will be visible.
| |
| ShowHeader |
Gets or sets whether the header should be visible.
| |
| ShowHours |
Determines whether the hour names column is visible.
| |
| ShowToolTip |
Determines whether the event tooltip is active.
| |
| Site | Gets information about the container that hosts the current control when rendered on a design surface. (Inherited from Control.) | |
| SkinID | Gets or sets the skin to apply to the control. (Inherited from WebControl.) | |
| StartDate |
Gets or sets the first day to be shown. Default is DateTime.Today.
| |
| Style | Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control. (Inherited from WebControl.) | |
| TabIndex | Gets or sets the tab index of the Web server control. (Inherited from WebControl.) | |
| TagKey | Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers. (Inherited from WebControl.) | |
| TagName | Gets the name of the control tag. This property is used primarily by control developers. (Inherited from WebControl.) | |
| TemplateControl | Gets or sets a reference to the template that contains this control. (Inherited from Control.) | |
| TemplateSourceDirectory | Gets the virtual directory of the Page or UserControl that contains the current server control. (Inherited from Control.) | |
| TimeFormat |
Gets or sets the time-format for hour numbers (on the left).
| |
| TimeRangeSelectedHandling |
Handling of user action (clicking a free-time slot).
| |
| TimeRangeSelectedJavaScript |
Gets or sets the Javascript code that is executed when a user selects a time range.
| |
| ToolTip | Gets or sets the text displayed when the mouse pointer hovers over the Web server control. (Inherited from WebControl.) | |
| UniqueID | Gets the unique, hierarchically qualified identifier for the server control. (Inherited from Control.) | |
| UseEventBoxes |
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.
| |
| ViewState | Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. (Inherited from Control.) | |
| ViewStateIgnoresCase | Gets a value that indicates whether the StateBag object is case-insensitive. (Inherited from Control.) | |
| ViewType |
Sets or gets the view type (resources or days). If set to ViewTypeEnum.Resources and you use data binding you have to specify DataColumnField property.
| |
| Visible | Gets or sets a value that indicates whether a server control is rendered as UI on the page. (Inherited from Control.) | |
| Width |
Calendar width. If not specified, 100% will be used.
(Overrides WebControl..::.Width.) |