Skip to content

CalendarView Properties

Marvin E edited this page Jul 11, 2022 · 16 revisions

Properties

Property Type Description

NavigatedDate

DateTime The date the CalendarView is currently navigated to.

Days

IEnumerable<ICalendarDay>
The days currently being displayed by the calendar.

DaysOfWeek

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

ForwardsArrowCommand

ICommand
The command to execute when the right arrow is pressed.

ForwardsArrowCommandParameter

object
The command parameter used for ForwardsArrowCommand

BackwardsArrowCommand

ICommand
The command to execute when the left arrow is pressed.

BackwardsArrowCommandParameter

object
The command parameter used for BackwardsArrowCommand

DayTemplate

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

NavigationTemplate

ControlTemplate How the navigation is displayed.

NavigateCalendarCommand, NavigatedDate

NavigationHeightRequest

double The HeightRequest of the NavigationView.

NavigationBackgroundColor

Color The BackgroundColor of the NavigationView.

NavigationTextColor

Color The TextColor of the NavigatedDate text in the NavigationView.

NavigationArrowColor

Color The colour of the arrows in the NavigationView.

NavigationArrowBackgroundColor

Color The BackgroundColor of the arrows in the NavigationView.

NavigationArrowCornerRadius

float The CornerRadius of the arrows in the NavigationView.

DayNamesTemplate

ControlTemplate How the DayNamesOrder should be displayed.

DayNamesOrder, CustomDayNamesOrder, StartOfWeekDayNamesOrder, DayNameTemplate

DayNamesHeightRequest

double The HeightRequest of the DayNamesView.

DayNameTemplate

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

DayNamesOrder,

DayNameVerticalSpacing

double The vertical spacing between the DayNames in the DayNamesView.

DayNameHorizontalSpacing

double The horizontal spacing between the DayNames in the DayNamesView.

DayNameTextColor

Color The TextColor of an individual DayName in the DayNamesView.

MonthViewTemplate

ControlTemplate How the Days should be displayed.

Days, DayTemplate

MonthViewHeightRequest

double The HeightRequest of the MonthView.