ASP.NET Core - EJ2

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScheduleEventSettings - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ScheduleEventSettings

    Inheritance
    System.Object
    EJTagHelper
    ScheduleEventSettings
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.ViewContext
    EJTagHelper.For
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsCollection
    Namespace: Syncfusion.EJ2.Schedule
    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
    Type Description
    MvcTemplate<System.Object>

    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

    EnableTooltip

    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
    Type Description
    ScheduleField

    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
    EJTagHelper.IsComplex

    MinimumEventDuration

    Sets a minimum duration for an event where the events are rendered for this minimum duration when the duration of the event is lesser than this value. It accepts duration value in minutes. This property is only applicable when the event duration is lesser than this property duration.

    Declaration
    public double MinimumEventDuration { get; set; }
    Property Value
    Type Description
    System.Double

    ParentPropertyName

    Declaration
    protected override string ParentPropertyName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.ParentPropertyName

    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

    SortComparer

    Defines the custom sort comparer function. The sort comparer function has the same functionality like Array.sort sort comparer.

    Declaration
    public object SortComparer { get; set; }
    Property Value
    Type Description
    System.Object

    SpannedEventPlacement

    Defines the option to render the spanned events (more than 24 hours) in either AllDayRow or TimeSlot. By default it renders in AllDayRow. This property is applicable for Day, Week and WorkWeek views only. The possible values for this property as follows AllDayRow TimeSlot {% codeBlock src='schedule/spannedEventPlacement/index.md' %}{% endcodeBlock %}

    Declaration
    public SpannedEventPlacement SpannedEventPlacement { get; set; }
    Property Value
    Type Description
    SpannedEventPlacement

    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

    TooltipTemplate

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved