Class ScheduleEventSettings
Inheritance
System.Object
ScheduleEventSettings
Assembly: Syncfusion.EJ2.dll
Syntax
public class ScheduleEventSettings : EJTagHelper
Constructors
ScheduleEventSettings()
Declaration
public ScheduleEventSettings()
Properties
AllowAdding
When set to false
the add action will be restricted.
Declaration
public bool AllowAdding { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AllowDeleting
When set to false
the delete action will be restricted.
Declaration
public bool AllowDeleting { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AllowEditing
When set to false
the edit action will be restricted.
Declaration
public bool AllowEditing { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
DataSource
With this property, the event data will be bound to Schedule.
The event data can be passed either as an array of JavaScript objects,
or else can create an instance of DataManager
in case of processing remote data and can be assigned to the dataSource
property.
With the remote data assigned to dataSource, check the available
adaptors to customize the data processing.
Declaration
public object DataSource { get; set; }
Property Value
Type |
Description |
System.Object |
|
EditFollowingEvents
When set to true
will edit the future events only instead of editing entire series.
Declaration
public bool EditFollowingEvents { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableIndicator
This property enables the event to occupy the full height that remaining from the header and more indicator.
More than one appointment are available on the cell the more indicator is created.
Declaration
public bool EnableIndicator { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableMaxHeight
It enables the event to occupy the full height of the cell without the header of the cell.
Declaration
public bool EnableMaxHeight { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
When set to true
will display the normal tooltip over the events with its subject, location, start and end time.
Declaration
public bool EnableTooltip { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Fields
Defines the collection of default event fields to be bind to the Schedule.
Declaration
public ScheduleField Fields { get; set; }
Property Value
IgnoreWhitespace
This property ignores or include the Events element bottom white space.
Declaration
public bool IgnoreWhitespace { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsComplex
Declaration
protected override bool IsComplex { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
ParentPropertyName
Declaration
protected override string ParentPropertyName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Query
Defines the external query
that will be executed along with the data processing.
Declaration
public string Query { get; set; }
Property Value
Type |
Description |
System.String |
|
ResourceColorField
Defines the resource name, to decides the color of which particular resource level is to be applied on appointments, when
grouping is enabled on scheduler.
{% codeBlock src="schedule/resource-color-field-api/index.ts" %}{% endcodeBlock %}
Declaration
public string ResourceColorField { get; set; }
Property Value
Type |
Description |
System.String |
|
Template
It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying
it onto the event background. All the event fields mapped to Schedule from dataSource can be accessed within this template code.
{% codeBlock src="schedule/event-template-api/index.ts" %}{% endcodeBlock %}
Declaration
public string Template { get; set; }
Property Value
Type |
Description |
System.String |
|
It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto tooltip.
All the event fields mapped with Schedule dataSource can be accessed within this template code.
{% codeBlock src="schedule/tooltip-template-api/index.ts" %}{% endcodeBlock %}
Declaration
public string TooltipTemplate { get; set; }
Property Value
Type |
Description |
System.String |
|