Skip to content

CalendarView Properties

Marvin E edited this page Apr 21, 2024 · 16 revisions

Properties

Property Type Description

NavigatedDate

DateTime The date used to generate the days that are currently being displayed.

Days

IEnumerable<object>
The days currently being displayed by the calendar. The objects should implement the ICalendarDay interface.

DaysOfWeek

IList<DayOfWeek>
The days of the week currently being displayed by the calendar.

LeftArrowCommand

ICommand
The LeftArrowCommand of the NavigationView.

LeftArrowCommandParameter

object
The LeftArrowCommandParameter of the NavigationView.

RightArrowCommand

ICommand
The RightArrowCommand of the NavigationView.

RightArrowCommandParameter

object
The RightArrowCommandParameter of the NavigationView.

DayTemplate

DataTemplate How an individual day in Days should be displayed. The DataTemplate's BindingContext will be an object which should implement ICalendarDay.

NavigationViewTemplate

ControlTemplate How the navigation bar is displayed.

DayNamesTemplate

ControlTemplate How the DaysOfWeek should be displayed.

DayNamesHeightRequest

double The HeightRequest of the DayNamesView.

DayNameTemplate

DataTemplate How an individual DayOfWeek in the DaysOfWeek should be displayed. The DataTemplate's BindingContext will be an ICalendarDay.

DayNameVerticalSpacing

double The vertical spacing between the DayNames in the DayNamesView.

DayNameHorizontalSpacing

double The horizontal spacing between the day names in the days of week.

DaysViewTemplate

ControlTemplate How Days should be displayed.

DaysViewHeightRequest

double The HeightRequest of the DaysView.