menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BlockoutSettingsBuilder

    Show / Hide Table of Contents

    Class BlockoutSettingsBuilder

    A builder class that holds settings for blockout.

    Inheritance
    System.Object
    BlockoutSettingsBuilder
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class BlockoutSettingsBuilder

    Constructors

    BlockoutSettingsBuilder(BlockoutSettings)

    Initializes a new instance of the BlockoutSettingsBuilder class to indicate the block time settings.

    Declaration
    public BlockoutSettingsBuilder(BlockoutSettings blockSettings)
    Parameters
    Type Name Description
    BlockoutSettings blockSettings

    It accepts the object that holds the settings for blockout

    Methods

    CustomStyle(String)

    This field stores the value which applies the custom CSS to the block intervals.

    Declaration
    public BlockoutSettingsBuilder CustomStyle(string customStyle)
    Parameters
    Type Name Description
    System.String customStyle
    Returns
    Type Description
    BlockoutSettingsBuilder

    Datasource()

    It throws the Datasource exception value if occurred any.

    Declaration
    public object Datasource()
    Returns
    Type Description
    System.Object
    Exceptions
    Type Condition
    System.NotImplementedException

    Datasource(DataSource)

    This field stores the blockout data collections.

    Declaration
    public BlockoutSettingsBuilder Datasource(DataSource dataSource)
    Parameters
    Type Name Description
    DataSource dataSource

    It accepts the blockout data collections.

    Returns
    Type Description
    BlockoutSettingsBuilder

    Datasource(Action<DataSourceBuilder>)

    It stores the blockout data collections.

    Declaration
    public BlockoutSettingsBuilder Datasource(Action<DataSourceBuilder> dataSource)
    Parameters
    Type Name Description
    System.Action<DataSourceBuilder> dataSource

    It accepts the blockout data collections.

    Returns
    Type Description
    BlockoutSettingsBuilder

    Datasource(IEnumerable)

    This field stores the blockout data collections.

    Declaration
    public BlockoutSettingsBuilder Datasource(IEnumerable dataSource)
    Parameters
    Type Name Description
    System.Collections.IEnumerable dataSource

    It accepts the blockout data collections

    Returns
    Type Description
    BlockoutSettingsBuilder

    Datasource(String)

    This field stores the URL of blockout data collections.

    Declaration
    public BlockoutSettingsBuilder Datasource(string dataURL)
    Parameters
    Type Name Description
    System.String dataURL

    It accepts the URL of blockout data collections.

    Returns
    Type Description
    BlockoutSettingsBuilder

    Enable(Boolean)

    This field stores the value that indicates whether to enable or disbale BlockoutSettings for Schedule.

    Declaration
    public BlockoutSettingsBuilder Enable(bool value)
    Parameters
    Type Name Description
    System.Boolean value

    It accepts the boolean value and enable or disbale BlockoutSettings based on it.

    Returns
    Type Description
    BlockoutSettingsBuilder

    EndTime(String)

    This field stores the end time value for blockout collection.

    Declaration
    public BlockoutSettingsBuilder EndTime(string endTime)
    Parameters
    Type Name Description
    System.String endTime
    Returns
    Type Description
    BlockoutSettingsBuilder

    GroupId(String)

    This field stores the resource group id value.

    Declaration
    public BlockoutSettingsBuilder GroupId(string groupId)
    Parameters
    Type Name Description
    System.String groupId

    It accepts the resource group id value.

    Returns
    Type Description
    BlockoutSettingsBuilder

    Id(String)

    This field stores the id value for blockout collection.

    Declaration
    public BlockoutSettingsBuilder Id(string id)
    Parameters
    Type Name Description
    System.String id
    Returns
    Type Description
    BlockoutSettingsBuilder

    IsAllDay(String)

    This field stores the value which indicates whether an entire day is blocked or not.

    Declaration
    public BlockoutSettingsBuilder IsAllDay(string isAllDay)
    Parameters
    Type Name Description
    System.String isAllDay

    It accepts the value which indicates whether an entire day is blocked or not.

    Returns
    Type Description
    BlockoutSettingsBuilder

    IsBlockAppointment(String)

    This field stores the value which indicates whether to allow / restrict the CRUD operations on appointments that lies on the blocked area.

    Declaration
    public BlockoutSettingsBuilder IsBlockAppointment(string isBlockAppointment)
    Parameters
    Type Name Description
    System.String isBlockAppointment

    It accepts the value to allow / restrict the CRUD operations on appointments that lies on the blocked area.

    Returns
    Type Description
    BlockoutSettingsBuilder

    Query(String)

    This field stores the query value for blockout.

    Declaration
    public BlockoutSettingsBuilder Query(string query)
    Parameters
    Type Name Description
    System.String query

    It accepts the blockout query value.

    Returns
    Type Description
    BlockoutSettingsBuilder

    ResourceId(String)

    This field stores the resource id value.

    Declaration
    public BlockoutSettingsBuilder ResourceId(string resourceId)
    Parameters
    Type Name Description
    System.String resourceId

    It accepts the resource id value.

    Returns
    Type Description
    BlockoutSettingsBuilder

    StartTime(String)

    This field stores the start time value for blockout collection.

    Declaration
    public BlockoutSettingsBuilder StartTime(string startTime)
    Parameters
    Type Name Description
    System.String startTime
    Returns
    Type Description
    BlockoutSettingsBuilder

    Subject(String)

    This field stores the subject value for blockout collection..

    Declaration
    public BlockoutSettingsBuilder Subject(string subject)
    Parameters
    Type Name Description
    System.String subject
    Returns
    Type Description
    BlockoutSettingsBuilder

    TableName(String)

    This field stores the blockout collections table name.

    Declaration
    public BlockoutSettingsBuilder TableName(string tableName)
    Parameters
    Type Name Description
    System.String tableName

    It accepts the name of the table.

    Returns
    Type Description
    BlockoutSettingsBuilder

    TemplateId(String)

    This field stores the id value of Block appointments template.

    Declaration
    public BlockoutSettingsBuilder TemplateId(string templateId)
    Parameters
    Type Name Description
    System.String templateId

    It accepts the block appointments template id value.

    Returns
    Type Description
    BlockoutSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved