Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RadCalendar

This class represents the RadCalendar component. RadCalendar is based on the already familiar native Android and iOS components from Progress Telerik UI for Android and Progress Telerik UI for iOS. The component exposes all major features supported by the native controls through a unified API suitable for NativeScript developers.

Hierarchy

  • void
    • RadCalendar

Index

Properties

dayViewStyle

dayViewStyle: CalendarDayViewStyle

Gets or sets the style properties for Week view mode. See CalendarDayViewStyle for available styling properties.

displayedDate

displayedDate: Date

Gets or sets the current displayed date in the RadCalendar instance.

eventSource

eventSource: Array<CalendarEvent>

Gets or sets the current event source in the RadCalendar instance.

eventsViewMode

eventsViewMode: string

Gets or sets the events view mode in RadCalendar instance. Use values from CalendarEventsViewMode enumeration.

horizontalTransition

horizontalTransition: boolean

Gets or sets if the transition of the RadCalendar instance is horizontal.

inlineEventCellStyle

inlineEventCellStyle: InlineEventCellStyle

Gets or sets the style properties for inline event cells in Month view mode. See InlineEventCellStyle for available styling properties.

locale

locale: string

Gets or sets the locale used throughout RadCalendar. Valid locale values are standard BCP-47 language tags like: us-US, ru-RU, bg-BG, etc.

maxDate

maxDate: any

Gets or sets the max date accessible by the (@link RadCalendar) instance.

minDate

minDate: any

Gets or sets the min date accessible by the (@link RadCalendar) instance.

monthNamesViewStyle

monthNamesViewStyle: CalendarMonthNamesViewStyle

Gets or sets the style properties for MonthNames view mode. See CalendarMonthNamesViewStyle for available styling properties.

monthViewStyle

monthViewStyle: CalendarMonthViewStyle

Gets or sets the style properties for Month view mode. See CalendarMonthViewStyle for available styling properties.

selectedDate

selectedDate: any

Gets or sets the current selected date in the RadCalendar instance.

selectedDateRange

selectedDateRange: DateRange

Gets or sets the current selected date range in the RadCalendar instance.

selectedDates

selectedDates: any

Gets or sets the current selected dates in the RadCalendar instance.

selectionMode

selectionMode: string

Gets or sets the current selection mode in the RadCalendar instance. use values from CalendarSelectionMode enumeration.

transitionMode

transitionMode: string

Gets or sets the current transition mode in the RadCalendar instance. Use values from CalendarTransitionMode enumeration.

viewMode

viewMode: string

Gets or sets the current view mode in the RadCalendar instance. Use values from CalendarViewMode enumeration.

weekViewStyle

weekViewStyle: CalendarWeekViewStyle

Gets or sets the style properties for Week view mode. See CalendarWeekViewStyle for available styling properties.

yearViewStyle

yearViewStyle: CalendarYearViewStyle

Gets or sets the style properties for Year view mode. See CalendarYearViewStyle for available styling properties.

Static cellTapEvent

cellTapEvent: string

This event is fired when a cell is tapped. The event exposes an instance of the CalendarCellTapEventData class.

Static dateDeselectedEvent

dateDeselectedEvent: string

This event is fired when a date is deselected. The event exposes an instance of the CalendarSelectionEventData class.

Static dateSelectedEvent

dateSelectedEvent: string

This event is fired when a date is selected. The event exposes an instance of the CalendarSelectionEventData class.

Static dayViewEventSelectedEvent

dayViewEventSelectedEvent: string

This event is fired when RadCalendar an event from the day view has been tapped. The event exposes an instance of the CalendarDayViewEventSelectedData class.

Static dayViewStyleProperty

dayViewStyleProperty: Property

Identifies the dayViewStyle dependency property.

Static displayedDateProperty

displayedDateProperty: Property

Gets the displayedDate dependency property.

Static eventSourceProperty

eventSourceProperty: Property

Identifies the eventSource dependency property.

Static eventsViewModeProperty

eventsViewModeProperty: Property

Identifies the eventsViewMode dependency property.

Static horizontalTransitionProperty

horizontalTransitionProperty: Property

Identifies the horizontalTransition dependency property.

Static inlineEventCellStyleProperty

inlineEventCellStyleProperty: Property

Identifies the inlineEventCellStyle dependency property.

Static inlineEventSelectedEvent

inlineEventSelectedEvent: string

This event is fired when RadCalendar an inline event has been tapped. The event exposes an instance of the CalendarInlineEventSelectedData class.

Static localeProperty

localeProperty: Property

Identifies the locale dependency property.

Static maxDateProperty

maxDateProperty: Property

Identifies the maxDate dependency property.

Static minDateProperty

minDateProperty: Property

Identifies the minDate dependency property.

Static monthNamesViewStyleProperty

monthNamesViewStyleProperty: Property

Identifies the monthViewStyle dependency property.

Static monthViewStyleProperty

monthViewStyleProperty: Property

Identifies the monthViewStyle dependency property.

Static navigatedToDateEvent

navigatedToDateEvent: string

This event is fired when RadCalendar has navigated to a certain date. The event exposes an instance of the CalendarNavigationEventData class.

Static navigatingToDateStartedEvent

navigatingToDateStartedEvent: string

This event is fired when RadCalendar is about to navigate to a certain date. The event exposes an instance of the CalendarNavigationEventData class.

Static selectedDateProperty

selectedDateProperty: Property

Identifies the selectedDate dependency property.

Static selectedDateRangeProperty

selectedDateRangeProperty: Property

Identifies the selectedDateRange dependency property.

Static selectedDatesProperty

selectedDatesProperty: Property

Identifies the selectedDates dependency property.

Static selectionModeProperty

selectionModeProperty: Property

Identifies the selectionMode dependency property.

Static transitionModeProperty

transitionModeProperty: Property

Identifies the transitionMode dependency property.

Static viewModeChangedEvent

viewModeChangedEvent: string

This event is fired when RadCalendar's viewMode has been changed. The event exposes an instance of the CalendarViewModeChangedEventData class.

Static viewModeProperty

viewModeProperty: Property

Identifies the viewMode dependency property.

Static weekViewStyleProperty

weekViewStyleProperty: Property

Identifies the monthViewStyle dependency property.

Static yearViewStyleProperty

yearViewStyleProperty: Property

Identifies the monthViewStyle dependency property.

Methods

getEventsForDate

  • Gets an array with the events for a specific date.

    Parameters

    • date: Date

    Returns Array<CalendarEvent>

goToDate

  • goToDate(date: Date): any
  • Navigates to the specified date.

    Parameters

    • date: Date

    Returns any

navigateBack

  • navigateBack(): any
  • Navigates to the previous screen in the current view mode context.

    Returns any

navigateForward

  • navigateForward(): any
  • Navigates to the next screen in current view mode context.

    Returns any

reload

  • reload(): any
  • Reloads all events in the RadCalendar instance and resets the selection.

    Returns any

Generated using TypeDoc