🐦 Grab your early bird tickets for the next NativeScript conference! jsMobileConf is coming back to Boston.

NativeScript Core

RadCalendar View Modes

RadCalendar supports view mode types that can be useful in different application scenarios. Setting a view mode is done via the viewMode property. This property accepts values defined in the CalendarViewMode enum. The following view modes are available:

  • Week - displays the dates within one week
  • Month - displays the dates within one month
  • MonthNames - displays the months within a year
  • Year - displays a whole year
  • Day - displays a timeline for a day with its events

Figure 1: RadCalendar when its viewMode is set to Day on Android (left) and iOS (right)

NativeScriptUI-Calendar-ViewMode-Day-Android NativeScriptUI-Calendar-ViewMode-Day-iOS

References

Want to see this scenario in action? Check our SDK examples repo on GitHub. You will find this and many other practical examples with NativeScript UI.