Skip to main content

BootstrapSchedulerAppointment Class

Declaration

class BootstrapSchedulerAppointment

Remarks

IMPORTANT

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

Properties

appointmentId Property

Declaration

readonly appointmentId: string

Property Value

Type
string

appointmentType Property

Declaration

readonly appointmentType: BootstrapSchedulerAppointmentType

Property Value

Type
BootstrapSchedulerAppointmentType

interval Property

Declaration

readonly interval: BootstrapTimeInterval | null

Property Value

Type
BootstrapTimeInterval
null

labelIndex Property

Declaration

readonly labelIndex: number

Property Value

Type
number

resources Property

Declaration

readonly resources: string[]

Property Value

Type
string[]

statusIndex Property

Declaration

readonly statusIndex: number

Property Value

Type
number

Methods

addResource(resourceId) Method

Declaration

addResource(
    resourceId: Object
): void

Parameters

Name Type
resourceId Object

getAllDay Method

Declaration

getAllDay(): boolean

Returns

Type
boolean

getAppointmentType Method

Declaration

getAppointmentType(): BootstrapSchedulerAppointmentType

Returns

Type
BootstrapSchedulerAppointmentType

getDescription Method

Declaration

getDescription(): string

Returns

Type
string

getDuration Method

Declaration

getDuration(): number

Returns

Type
number

getEnd Method

Declaration

getEnd(): Date

Returns

Type
Date

getId Method

Declaration

getId(): any

Returns

Type
any

getLabelId Method

Declaration

getLabelId(): number

Returns

Type
number

getLocation Method

Declaration

getLocation(): string

Returns

Type
string

getRecurrenceInfo Method

Declaration

getRecurrenceInfo(): BootstrapSchedulerRecurrenceInfo | null

Returns

Type
BootstrapSchedulerRecurrenceInfo
null

getRecurrencePattern Method

Declaration

getRecurrencePattern(): BootstrapSchedulerAppointment | null

Returns

Type
BootstrapSchedulerAppointment
null

getResource(index) Method

Declaration

getResource(
    index: number
): any

Parameters

Name Type
index number

Returns

Type
any

getStart Method

Declaration

getStart(): Date

Returns

Type
Date

getStatusId Method

Declaration

getStatusId(): number

Returns

Type
number

getSubject Method

Declaration

getSubject(): string

Returns

Type
string

setAllDay(allDay) Method

Declaration

setAllDay(
    allDay: boolean
): void

Parameters

Name Type
allDay boolean

setAppointmentType(type) Method

Declaration

setAppointmentType(
    type: BootstrapSchedulerAppointmentType
): void

Parameters

Name Type
type BootstrapSchedulerAppointmentType

setDescription(description) Method

Declaration

setDescription(
    description: string
): void

Parameters

Name Type
description string

setDuration(duration) Method

Declaration

setDuration(
    duration: number
): void

Parameters

Name Type
duration number

setEnd(end) Method

Declaration

setEnd(
    end: Date
): void

Parameters

Name Type
end Date

setId(id) Method

Declaration

setId(
    id: any
): void

Parameters

Name Type
id any

setLabelId(statusId) Method

Declaration

setLabelId(
    statusId: number
): void

Parameters

Name Type
statusId number

setLocation(location) Method

Declaration

setLocation(
    location: string
): void

Parameters

Name Type
location string

setRecurrenceInfo(recurrenceInfo) Method

Declaration

setRecurrenceInfo(
    recurrenceInfo: BootstrapSchedulerRecurrenceInfo
): void

Parameters

Name Type
recurrenceInfo BootstrapSchedulerRecurrenceInfo

setStart(start) Method

Declaration

setStart(
    start: Date
): void

Parameters

Name Type
start Date

setStatusId(statusId) Method

Declaration

setStatusId(
    statusId: number
): void

Parameters

Name Type
statusId number

setSubject(subject) Method

Declaration

setSubject(
    subject: string
): void

Parameters

Name Type
subject string