New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a calendar control that allows you to select a date.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RadCalendar : RadBorder, IRadBorder, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, INotifyPropertyChanged

Inheritance: objectRadContentViewRadBorderRadCalendar

Derived Classes: DatePickerView

Implements: IContentViewICrossPlatformLayoutIElementINotifyPropertyChangedIPaddingIRadBorderIRadContentViewITransformIView...

Inherited Members RadBorder.BorderColorPropertyRadBorder.CornerRadiusPropertyRadBorder.BorderThicknessPropertyRadBorder.BorderBrushPropertyRadBorder.ChangeVisualState()RadBorder.BorderColorRadBorder.CornerRadiusRadBorder.BorderThicknessRadBorder.BorderBrushRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()...

Constructors

Initializes a new instance of the RadCalendar class.

C#
public RadCalendar()

Fields

Identifies the ActualDayNameLabelStyle property.

C#
public static readonly BindableProperty ActualDayNameLabelStyleProperty

Identifies the ActualHeaderBorderStyle property.

C#
public static readonly BindableProperty ActualHeaderBorderStyleProperty

Identifies the ActualHeaderLabelStyle property.

C#
public static readonly BindableProperty ActualHeaderLabelStyleProperty

Identifies the ActualNavigateToNextViewButtonStyle property.

C#
public static readonly BindableProperty ActualNavigateToNextViewButtonStyleProperty
C#
public static readonly BindableProperty ActualNavigateToPreviousViewButtonStyleProperty

Identifies the AreDayNamesVisible property.

C#
public static readonly BindableProperty AreDayNamesVisibleProperty

BackgroundColorProperty

BindableProperty

Identifies the BackgroundColor property.

C#
public static readonly BindableProperty BackgroundColorProperty

BlackoutDatesProperty

BindableProperty

Identifies the BlackoutDates property.

C#
public static readonly BindableProperty BlackoutDatesProperty

Identifies the CenturyHeaderTextFormat property.

C#
public static readonly BindableProperty CenturyHeaderTextFormatProperty

ControlTemplateProperty

BindableProperty

Identifies the ControlTemplate property.

C#
public static readonly BindableProperty ControlTemplateProperty

CultureProperty

BindableProperty

Identifies the Culture property.

C#
public static readonly BindableProperty CultureProperty

Identifies the DayNameLabelStyle property.

C#
public static readonly BindableProperty DayNameLabelStyleProperty

DayStyleSelectorProperty

BindableProperty

Identifies the DayStyleSelector property.

C#
public static readonly BindableProperty DayStyleSelectorProperty

DayTemplateProperty

BindableProperty

Identifies the DayTemplate property.

C#
public static readonly BindableProperty DayTemplateProperty

Identifies the DecadeHeaderTextFormat property.

C#
public static readonly BindableProperty DecadeHeaderTextFormatProperty

Identifies the DecadeStyleSelector property.

C#
public static readonly BindableProperty DecadeStyleSelectorProperty

DecadeTemplateProperty

BindableProperty

Identifies the DecadeTemplate property.

C#
public static readonly BindableProperty DecadeTemplateProperty

DisplayDateProperty

BindableProperty

Identifies the DisplayDate property.

C#
public static readonly BindableProperty DisplayDateProperty

DisplayModeProperty

BindableProperty

Identifies the DisplayMode property.

C#
public static readonly BindableProperty DisplayModeProperty

FirstDayOfWeekProperty

BindableProperty

Identifies the FirstDayOfWeek property.

C#
public static readonly BindableProperty FirstDayOfWeekProperty

Identifies the HeaderBorderStyle property.

C#
public static readonly BindableProperty HeaderBorderStyleProperty

HeaderLabelStyleProperty

BindableProperty

Identifies the HeaderLabelStyle property.

C#
public static readonly BindableProperty HeaderLabelStyleProperty

HeaderTextProperty

BindableProperty

Identifies the HeaderText property.

C#
public static readonly BindableProperty HeaderTextProperty

InteractionModeProperty

BindableProperty

Identifies the InteractionMode property.

C#
public static readonly BindableProperty InteractionModeProperty

Identifies the IsOutOfScopeVisible property.

C#
public static readonly BindableProperty IsOutOfScopeVisibleProperty

MaxDateProperty

BindableProperty

Identifies the MaxDate property.

C#
public static readonly BindableProperty MaxDateProperty

MaxDisplayModeProperty

BindableProperty

Identifies the MaxDisplayMode property.

C#
public static readonly BindableProperty MaxDisplayModeProperty

MinDateProperty

BindableProperty

Identifies the MinDate property.

C#
public static readonly BindableProperty MinDateProperty

MinDisplayModeProperty

BindableProperty

Identifies the MinDisplayMode property.

C#
public static readonly BindableProperty MinDisplayModeProperty

Identifies the MonthHeaderTextFormat property.

C#
public static readonly BindableProperty MonthHeaderTextFormatProperty

Identifies the MonthStyleSelector property.

C#
public static readonly BindableProperty MonthStyleSelectorProperty

MonthTemplateProperty

BindableProperty

Identifies the MonthTemplate property.

C#
public static BindableProperty MonthTemplateProperty

Identifies the NavigateToLowerViewCommand property.

C#
public static readonly BindableProperty NavigateToLowerViewCommandProperty

Identifies the NavigateToNextViewButtonStyle property.

C#
public static readonly BindableProperty NavigateToNextViewButtonStyleProperty

Identifies the NavigateToNextViewCommand property.

C#
public static readonly BindableProperty NavigateToNextViewCommandProperty

Identifies the NavigateToPreviousViewButtonStyle property.

C#
public static readonly BindableProperty NavigateToPreviousViewButtonStyleProperty

Identifies the NavigateToPreviousViewCommand property.

C#
public static readonly BindableProperty NavigateToPreviousViewCommandProperty

Identifies the NavigateToUpperViewCommand property.

C#
public static readonly BindableProperty NavigateToUpperViewCommandProperty

Identifies the NavigationDirection property.

C#
public static readonly BindableProperty NavigationDirectionProperty

SelectedDateProperty

BindableProperty

Identifies the SelectedDate property.

C#
public static readonly BindableProperty SelectedDateProperty

SelectedDatesProperty

BindableProperty

Identifies the SelectedDates property.

C#
public static readonly BindableProperty SelectedDatesProperty

SelectionModeProperty

BindableProperty

Identifies the SelectionMode property.

C#
public static readonly BindableProperty SelectionModeProperty

Identifies the YearHeaderTextFormat property.

C#
public static readonly BindableProperty YearHeaderTextFormatProperty

Identifies the YearStyleSelector property.

C#
public static readonly BindableProperty YearStyleSelectorProperty

YearTemplateProperty

BindableProperty

Identifies the YearTemplate property.

C#
public static BindableProperty YearTemplateProperty

Properties

Gets the actual style that is used for the day name label.

C#
public Style ActualDayNameLabelStyle { get; }

Gets the actual style that is used for the header border.

C#
public Style ActualHeaderBorderStyle { get; }

Gets the actual style that is used for the header label.

C#
public Style ActualHeaderLabelStyle { get; }

Gets the actual style that is used for the next header button.

C#
public Style ActualNavigateToNextViewButtonStyle { get; }

Gets the actual style that is used for the previous header button.

C#
public Style ActualNavigateToPreviousViewButtonStyle { get; }

Gets or sets a value indicating whether the day names should be displayed.

C#
public bool AreDayNamesVisible { get; set; }

Gets or sets the BackgroundColor of the calendar.

C#
public Color BackgroundColor { get; set; }

Gets or sets a list of dates that cannot be selected by the user.

C#
public IEnumerable<DateTime> BlackoutDates { get; set; }

Gets or sets the format for the header of the century view of the calendar.

C#
public string CenturyHeaderTextFormat { get; set; }

ControlTemplate

ControlTemplate

Gets or sets the control template of this view.

C#
public ControlTemplate ControlTemplate { get; set; }

Gets or sets the culture that is used to display the calendar.

C#
public CultureInfo Culture { get; set; }

Gets or sets the style for the day names in the month views of the calendar.

C#
public Style DayNameLabelStyle { get; set; }

Gets or sets the style selector for the days in the month views of the calendar.

C#
public CalendarStyleSelector DayStyleSelector { get; set; }

DayTemplate

DataTemplate

Gets or sets the content templates for the days in the month view of the calendar.

C#
public DataTemplate DayTemplate { get; set; }

Gets or sets the format for the header of the decade view of the calendar.

C#
public string DecadeHeaderTextFormat { get; set; }

Gets or sets the style selector for the decade views in the century view of the calendar.

C#
public CalendarStyleSelector DecadeStyleSelector { get; set; }

DecadeTemplate

DataTemplate

Gets or sets the content templates for the decades in the century view of the calendar.

C#
public DataTemplate DecadeTemplate { get; set; }

Gets or sets the date that is currently displayed.

C#
public DateTime DisplayDate { get; set; }

Gets or sets the display mode of the calendar. The DisplayMode property controls the span of time the calendar is currently displaying: month, year, decade and century.

C#
public CalendarDisplayMode DisplayMode { get; set; }

Gets or sets the day that is considered the beginning of the week.

C#
public DayOfWeek? FirstDayOfWeek { get; set; }

Gets or sets the style for the header border.

C#
public Style HeaderBorderStyle { get; set; }

Gets or sets the style for the header label.

C#
public Style HeaderLabelStyle { get; set; }

Gets the text that is displayed in the header of the calendar.

C#
public string HeaderText { get; }

Gets or sets the InteractionMode of the calendar.

C#
public CalendarInteractionMode InteractionMode { get; set; }

Gets or sets a value indicating whether the leading and trailing dates in the month, decade or century should be displayed.

C#
public bool IsOutOfScopeVisible { get; set; }

Gets the latest date that the calendar can display.

C#
public DateTime MaxDate { get; set; }

Gets or sets the maximum display mode of the calendar.

C#
public CalendarDisplayMode MaxDisplayMode { get; set; }

Gets the earliest date that the calendar can display.

C#
public DateTime MinDate { get; set; }

Gets or sets the minimum display mode of the calendar.

C#
public CalendarDisplayMode MinDisplayMode { get; set; }

Gets or sets the format for the header of the month view of the calendar.

C#
public string MonthHeaderTextFormat { get; set; }

Gets or sets the style selector for the month views in the year views of the calendar.

C#
public CalendarStyleSelector MonthStyleSelector { get; set; }

MonthTemplate

DataTemplate

Gets or sets the content templates for the months in the year view of the calendar.

C#
public DataTemplate MonthTemplate { get; set; }

Gets the command that is executed when the user navigates to the lower view.

C#
public ICommand NavigateToLowerViewCommand { get; }

Gets or sets the style for button in the header that navigates to the next view.

C#
public Style NavigateToNextViewButtonStyle { get; set; }

Gets the command that is executed when the user navigates to the next view.

C#
public ICommand NavigateToNextViewCommand { get; }

Gets or sets the style for button in the header that navigates to the previous view.

C#
public Style NavigateToPreviousViewButtonStyle { get; set; }

Gets the command that is executed when the user navigates to the previous view.

C#
public ICommand NavigateToPreviousViewCommand { get; }

Gets the command that is executed when the user navigates to the upper view.

C#
public ICommand NavigateToUpperViewCommand { get; }

Gets or set a value indicating whether the scroll direction of the calendar is horizontal.

C#
public Orientation NavigationDirection { get; set; }

Gets or sets the currently selected date.

C#
public DateTime? SelectedDate { get; set; }

Gets an list of the currently selected dates.

C#
public ObservableCollection<DateTime> SelectedDates { get; }

Gets or sets the types of selection that would be allowed in the Calendar.

C#
public CalendarSelectionMode SelectionMode { get; set; }

Gets or sets the format for the header of the year view of the calendar.

C#
public string YearHeaderTextFormat { get; set; }

Gets or sets the style selector for the year views in the decade view of the calendar.

C#
public CalendarStyleSelector YearStyleSelector { get; set; }

YearTemplate

DataTemplate

Gets or sets the content templates for the years in the decade view of the calendar.

C#
public DataTemplate YearTemplate { get; set; }

Methods

C#
protected override void OnApplyTemplate()
C#
protected override void OnParentChanged()

Events

Occurs when display date has changed.

C#
public event EventHandler<ValueChangedEventArgs<DateTime>> DisplayDateChanged

Invoked selection is performed.

C#
public event EventHandler<CalendarSelectionChangedEventArgs> SelectionChanged
In this article
DefinitionConstructorsRadCalendar()FieldsActualDayNameLabelStylePropertyActualHeaderBorderStylePropertyActualHeaderLabelStylePropertyActualNavigateToNextViewButtonStylePropertyActualNavigateToPreviousViewButtonStylePropertyAreDayNamesVisiblePropertyBackgroundColorPropertyBlackoutDatesPropertyCenturyHeaderTextFormatPropertyControlTemplatePropertyCulturePropertyDayNameLabelStylePropertyDayStyleSelectorPropertyDayTemplatePropertyDecadeHeaderTextFormatPropertyDecadeStyleSelectorPropertyDecadeTemplatePropertyDisplayDatePropertyDisplayModePropertyFirstDayOfWeekPropertyHeaderBorderStylePropertyHeaderLabelStylePropertyHeaderTextPropertyInteractionModePropertyIsOutOfScopeVisiblePropertyMaxDatePropertyMaxDisplayModePropertyMinDatePropertyMinDisplayModePropertyMonthHeaderTextFormatPropertyMonthStyleSelectorPropertyMonthTemplatePropertyNavigateToLowerViewCommandPropertyNavigateToNextViewButtonStylePropertyNavigateToNextViewCommandPropertyNavigateToPreviousViewButtonStylePropertyNavigateToPreviousViewCommandPropertyNavigateToUpperViewCommandPropertyNavigationDirectionPropertySelectedDatePropertySelectedDatesPropertySelectionModePropertyYearHeaderTextFormatPropertyYearStyleSelectorPropertyYearTemplatePropertyPropertiesActualDayNameLabelStyleActualHeaderBorderStyleActualHeaderLabelStyleActualNavigateToNextViewButtonStyleActualNavigateToPreviousViewButtonStyleAreDayNamesVisibleBackgroundColorBlackoutDatesCenturyHeaderTextFormatControlTemplateCultureDayNameLabelStyleDayStyleSelectorDayTemplateDecadeHeaderTextFormatDecadeStyleSelectorDecadeTemplateDisplayDateDisplayModeFirstDayOfWeekHeaderBorderStyleHeaderLabelStyleHeaderTextInteractionModeIsOutOfScopeVisibleMaxDateMaxDisplayModeMinDateMinDisplayModeMonthHeaderTextFormatMonthStyleSelectorMonthTemplateNavigateToLowerViewCommandNavigateToNextViewButtonStyleNavigateToNextViewCommandNavigateToPreviousViewButtonStyleNavigateToPreviousViewCommandNavigateToUpperViewCommandNavigationDirectionSelectedDateSelectedDatesSelectionModeYearHeaderTextFormatYearStyleSelectorYearTemplateMethodsOnApplyTemplate()OnParentChanged()EventsDisplayDateChangedSelectionChanged
Not finding the help you need?
Contact Support