Class
RadCalendar

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

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
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

RadCalendar()

Initializes a new instance of the RadCalendar class.

Declaration

cs-api-definition
public RadCalendar()

Fields

ActualDayNameLabelStyleProperty

Identifies the ActualDayNameLabelStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualDayNameLabelStyleProperty

Field Value

BindableProperty

ActualHeaderBorderStyleProperty

Identifies the ActualHeaderBorderStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualHeaderBorderStyleProperty

Field Value

BindableProperty

ActualHeaderLabelStyleProperty

Identifies the ActualHeaderLabelStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualHeaderLabelStyleProperty

Field Value

BindableProperty

ActualNavigateToNextViewButtonStyleProperty

Identifies the ActualNavigateToNextViewButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualNavigateToNextViewButtonStyleProperty

Field Value

BindableProperty

ActualNavigateToPreviousViewButtonStyleProperty

Declaration

cs-api-definition
public static readonly BindableProperty ActualNavigateToPreviousViewButtonStyleProperty

Field Value

BindableProperty

AreDayNamesVisibleProperty

Identifies the AreDayNamesVisible property.

Declaration

cs-api-definition
public static readonly BindableProperty AreDayNamesVisibleProperty

Field Value

BindableProperty

BackgroundColorProperty

Identifies the BackgroundColor property.

Declaration

cs-api-definition
public static readonly BindableProperty BackgroundColorProperty

Field Value

BindableProperty

BlackoutDatesProperty

Identifies the BlackoutDates property.

Declaration

cs-api-definition
public static readonly BindableProperty BlackoutDatesProperty

Field Value

BindableProperty

CenturyHeaderTextFormatProperty

Identifies the CenturyHeaderTextFormat property.

Declaration

cs-api-definition
public static readonly BindableProperty CenturyHeaderTextFormatProperty

Field Value

BindableProperty

ControlTemplateProperty

Identifies the ControlTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty ControlTemplateProperty

Field Value

BindableProperty

CultureProperty

Identifies the Culture property.

Declaration

cs-api-definition
public static readonly BindableProperty CultureProperty

Field Value

BindableProperty

DayNameLabelStyleProperty

Identifies the DayNameLabelStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty DayNameLabelStyleProperty

Field Value

BindableProperty

DayStyleSelectorProperty

Identifies the DayStyleSelector property.

Declaration

cs-api-definition
public static readonly BindableProperty DayStyleSelectorProperty

Field Value

BindableProperty

DayTemplateProperty

Identifies the DayTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty DayTemplateProperty

Field Value

BindableProperty

DecadeHeaderTextFormatProperty

Identifies the DecadeHeaderTextFormat property.

Declaration

cs-api-definition
public static readonly BindableProperty DecadeHeaderTextFormatProperty

Field Value

BindableProperty

DecadeStyleSelectorProperty

Identifies the DecadeStyleSelector property.

Declaration

cs-api-definition
public static readonly BindableProperty DecadeStyleSelectorProperty

Field Value

BindableProperty

DecadeTemplateProperty

Identifies the DecadeTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty DecadeTemplateProperty

Field Value

BindableProperty

DisplayDateProperty

Identifies the DisplayDate property.

Declaration

cs-api-definition
public static readonly BindableProperty DisplayDateProperty

Field Value

BindableProperty

DisplayModeProperty

Identifies the DisplayMode property.

Declaration

cs-api-definition
public static readonly BindableProperty DisplayModeProperty

Field Value

BindableProperty

FirstDayOfWeekProperty

Identifies the FirstDayOfWeek property.

Declaration

cs-api-definition
public static readonly BindableProperty FirstDayOfWeekProperty

Field Value

BindableProperty

HeaderBorderStyleProperty

Identifies the HeaderBorderStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty HeaderBorderStyleProperty

Field Value

BindableProperty

HeaderLabelStyleProperty

Identifies the HeaderLabelStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty HeaderLabelStyleProperty

Field Value

BindableProperty

HeaderTextProperty

Identifies the HeaderText property.

Declaration

cs-api-definition
public static readonly BindableProperty HeaderTextProperty

Field Value

BindableProperty

InteractionModeProperty

Identifies the InteractionMode property.

Declaration

cs-api-definition
public static readonly BindableProperty InteractionModeProperty

Field Value

BindableProperty

IsOutOfScopeVisibleProperty

Identifies the IsOutOfScopeVisible property.

Declaration

cs-api-definition
public static readonly BindableProperty IsOutOfScopeVisibleProperty

Field Value

BindableProperty

MaxDateProperty

Identifies the MaxDate property.

Declaration

cs-api-definition
public static readonly BindableProperty MaxDateProperty

Field Value

BindableProperty

MaxDisplayModeProperty

Identifies the MaxDisplayMode property.

Declaration

cs-api-definition
public static readonly BindableProperty MaxDisplayModeProperty

Field Value

BindableProperty

MinDateProperty

Identifies the MinDate property.

Declaration

cs-api-definition
public static readonly BindableProperty MinDateProperty

Field Value

BindableProperty

MinDisplayModeProperty

Identifies the MinDisplayMode property.

Declaration

cs-api-definition
public static readonly BindableProperty MinDisplayModeProperty

Field Value

BindableProperty

MonthHeaderTextFormatProperty

Identifies the MonthHeaderTextFormat property.

Declaration

cs-api-definition
public static readonly BindableProperty MonthHeaderTextFormatProperty

Field Value

BindableProperty

MonthStyleSelectorProperty

Identifies the MonthStyleSelector property.

Declaration

cs-api-definition
public static readonly BindableProperty MonthStyleSelectorProperty

Field Value

BindableProperty

MonthTemplateProperty

Identifies the MonthTemplate property.

Declaration

cs-api-definition
public static BindableProperty MonthTemplateProperty

Field Value

BindableProperty

NavigateToLowerViewCommandProperty

Identifies the NavigateToLowerViewCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty NavigateToLowerViewCommandProperty

Field Value

BindableProperty

NavigateToNextViewButtonStyleProperty

Identifies the NavigateToNextViewButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty NavigateToNextViewButtonStyleProperty

Field Value

BindableProperty

NavigateToNextViewCommandProperty

Identifies the NavigateToNextViewCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty NavigateToNextViewCommandProperty

Field Value

BindableProperty

NavigateToPreviousViewButtonStyleProperty

Identifies the NavigateToPreviousViewButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty NavigateToPreviousViewButtonStyleProperty

Field Value

BindableProperty

NavigateToPreviousViewCommandProperty

Identifies the NavigateToPreviousViewCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty NavigateToPreviousViewCommandProperty

Field Value

BindableProperty

NavigateToUpperViewCommandProperty

Identifies the NavigateToUpperViewCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty NavigateToUpperViewCommandProperty

Field Value

BindableProperty

NavigationDirectionProperty

Identifies the NavigationDirection property.

Declaration

cs-api-definition
public static readonly BindableProperty NavigationDirectionProperty

Field Value

BindableProperty

SelectedDateProperty

Identifies the SelectedDate property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectedDateProperty

Field Value

BindableProperty

SelectedDatesProperty

Identifies the SelectedDates property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectedDatesProperty

Field Value

BindableProperty

SelectionModeProperty

Identifies the SelectionMode property.

Declaration

cs-api-definition
public static readonly BindableProperty SelectionModeProperty

Field Value

BindableProperty

YearHeaderTextFormatProperty

Identifies the YearHeaderTextFormat property.

Declaration

cs-api-definition
public static readonly BindableProperty YearHeaderTextFormatProperty

Field Value

BindableProperty

YearStyleSelectorProperty

Identifies the YearStyleSelector property.

Declaration

cs-api-definition
public static readonly BindableProperty YearStyleSelectorProperty

Field Value

BindableProperty

YearTemplateProperty

Identifies the YearTemplate property.

Declaration

cs-api-definition
public static BindableProperty YearTemplateProperty

Field Value

BindableProperty

Properties

ActualDayNameLabelStyle

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

Declaration

cs-api-definition
public Style ActualDayNameLabelStyle { get; }

Property Value

Style

ActualHeaderBorderStyle

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

Declaration

cs-api-definition
public Style ActualHeaderBorderStyle { get; }

Property Value

Style

ActualHeaderLabelStyle

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

Declaration

cs-api-definition
public Style ActualHeaderLabelStyle { get; }

Property Value

Style

ActualNavigateToNextViewButtonStyle

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

Declaration

cs-api-definition
public Style ActualNavigateToNextViewButtonStyle { get; }

Property Value

Style

ActualNavigateToPreviousViewButtonStyle

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

Declaration

cs-api-definition
public Style ActualNavigateToPreviousViewButtonStyle { get; }

Property Value

Style

AreDayNamesVisible

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

Declaration

cs-api-definition
public bool AreDayNamesVisible { get; set; }

Property Value

bool

BackgroundColor

Gets or sets the BackgroundColor of the calendar.

Declaration

cs-api-definition
public Color BackgroundColor { get; set; }

Property Value

Color

BlackoutDates

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

Declaration

cs-api-definition
public IEnumerable<DateTime> BlackoutDates { get; set; }

Property Value

IEnumerable<DateTime>

CenturyHeaderTextFormat

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

Declaration

cs-api-definition
public string CenturyHeaderTextFormat { get; set; }

Property Value

string

ControlTemplate

Gets or sets the control template of this view.

Declaration

cs-api-definition
public ControlTemplate ControlTemplate { get; set; }

Property Value

ControlTemplate

Culture

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

Declaration

cs-api-definition
public CultureInfo Culture { get; set; }

Property Value

CultureInfo

DayNameLabelStyle

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

Declaration

cs-api-definition
public Style DayNameLabelStyle { get; set; }

Property Value

Style

DayStyleSelector

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

Declaration

cs-api-definition
public CalendarStyleSelector DayStyleSelector { get; set; }

Property Value

CalendarStyleSelector

DayTemplate

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

Declaration

cs-api-definition
public DataTemplate DayTemplate { get; set; }

Property Value

DataTemplate

DecadeHeaderTextFormat

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

Declaration

cs-api-definition
public string DecadeHeaderTextFormat { get; set; }

Property Value

string

DecadeStyleSelector

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

Declaration

cs-api-definition
public CalendarStyleSelector DecadeStyleSelector { get; set; }

Property Value

CalendarStyleSelector

DecadeTemplate

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

Declaration

cs-api-definition
public DataTemplate DecadeTemplate { get; set; }

Property Value

DataTemplate

DisplayDate

Gets or sets the date that is currently displayed.

Declaration

cs-api-definition
public DateTime DisplayDate { get; set; }

Property Value

DateTime

DisplayMode

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.

Declaration

cs-api-definition
public CalendarDisplayMode DisplayMode { get; set; }

Property Value

CalendarDisplayMode

FirstDayOfWeek

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

Declaration

cs-api-definition
public DayOfWeek? FirstDayOfWeek { get; set; }

Property Value

DayOfWeek?

HeaderBorderStyle

Gets or sets the style for the header border.

Declaration

cs-api-definition
public Style HeaderBorderStyle { get; set; }

Property Value

Style

HeaderLabelStyle

Gets or sets the style for the header label.

Declaration

cs-api-definition
public Style HeaderLabelStyle { get; set; }

Property Value

Style

HeaderText

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

Declaration

cs-api-definition
public string HeaderText { get; }

Property Value

string

InteractionMode

Gets or sets the InteractionMode of the calendar.

Declaration

cs-api-definition
public CalendarInteractionMode InteractionMode { get; set; }

Property Value

CalendarInteractionMode

IsOutOfScopeVisible

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

Declaration

cs-api-definition
public bool IsOutOfScopeVisible { get; set; }

Property Value

bool

MaxDate

Gets the latest date that the calendar can display.

Declaration

cs-api-definition
public DateTime MaxDate { get; set; }

Property Value

DateTime

MaxDisplayMode

Gets or sets the maximum display mode of the calendar.

Declaration

cs-api-definition
public CalendarDisplayMode MaxDisplayMode { get; set; }

Property Value

CalendarDisplayMode

MinDate

Gets the earliest date that the calendar can display.

Declaration

cs-api-definition
public DateTime MinDate { get; set; }

Property Value

DateTime

MinDisplayMode

Gets or sets the minimum display mode of the calendar.

Declaration

cs-api-definition
public CalendarDisplayMode MinDisplayMode { get; set; }

Property Value

CalendarDisplayMode

MonthHeaderTextFormat

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

Declaration

cs-api-definition
public string MonthHeaderTextFormat { get; set; }

Property Value

string

MonthStyleSelector

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

Declaration

cs-api-definition
public CalendarStyleSelector MonthStyleSelector { get; set; }

Property Value

CalendarStyleSelector

MonthTemplate

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

Declaration

cs-api-definition
public DataTemplate MonthTemplate { get; set; }

Property Value

DataTemplate

NavigateToLowerViewCommand

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

Declaration

cs-api-definition
public ICommand NavigateToLowerViewCommand { get; }

Property Value

ICommand

NavigateToNextViewButtonStyle

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

Declaration

cs-api-definition
public Style NavigateToNextViewButtonStyle { get; set; }

Property Value

Style

NavigateToNextViewCommand

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

Declaration

cs-api-definition
public ICommand NavigateToNextViewCommand { get; }

Property Value

ICommand

NavigateToPreviousViewButtonStyle

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

Declaration

cs-api-definition
public Style NavigateToPreviousViewButtonStyle { get; set; }

Property Value

Style

NavigateToPreviousViewCommand

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

Declaration

cs-api-definition
public ICommand NavigateToPreviousViewCommand { get; }

Property Value

ICommand

NavigateToUpperViewCommand

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

Declaration

cs-api-definition
public ICommand NavigateToUpperViewCommand { get; }

Property Value

ICommand

NavigationDirection

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

Declaration

cs-api-definition
public Orientation NavigationDirection { get; set; }

Property Value

Orientation

SelectedDate

Gets or sets the currently selected date.

Declaration

cs-api-definition
public DateTime? SelectedDate { get; set; }

Property Value

DateTime?

SelectedDates

Gets an list of the currently selected dates.

Declaration

cs-api-definition
public ObservableCollection<DateTime> SelectedDates { get; }

Property Value

ObservableCollection<DateTime>

SelectionMode

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

Declaration

cs-api-definition
public CalendarSelectionMode SelectionMode { get; set; }

Property Value

CalendarSelectionMode

YearHeaderTextFormat

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

Declaration

cs-api-definition
public string YearHeaderTextFormat { get; set; }

Property Value

string

YearStyleSelector

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

Declaration

cs-api-definition
public CalendarStyleSelector YearStyleSelector { get; set; }

Property Value

CalendarStyleSelector

YearTemplate

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

Declaration

cs-api-definition
public DataTemplate YearTemplate { get; set; }

Property Value

DataTemplate

Methods

OnApplyTemplate()

Declaration

cs-api-definition
protected override void OnApplyTemplate()

OnParentChanged()

Declaration

cs-api-definition
protected override void OnParentChanged()

Events

DisplayDateChanged

Occurs when display date has changed.

Declaration

cs-api-definition
public event EventHandler<ValueChangedEventArgs<DateTime>> DisplayDateChanged

Event Value

EventHandler<ValueChangedEventArgs<DateTime>>

SelectionChanged

Invoked selection is performed.

Declaration

cs-api-definition
public event EventHandler<CalendarSelectionChangedEventArgs> SelectionChanged

Event Value

EventHandler<CalendarSelectionChangedEventArgs>

In this article
DefinitionConstructorsRadCalendar()FieldsActualDayNameLabelStylePropertyActualHeaderBorderStylePropertyActualHeaderLabelStylePropertyActualNavigateToNextViewButtonStylePropertyActualNavigateToPreviousViewButtonStylePropertyAreDayNamesVisiblePropertyBackgroundColorPropertyBlackoutDatesPropertyCenturyHeaderTextFormatPropertyControlTemplatePropertyCulturePropertyDayNameLabelStylePropertyDayStyleSelectorPropertyDayTemplatePropertyDecadeHeaderTextFormatPropertyDecadeStyleSelectorPropertyDecadeTemplatePropertyDisplayDatePropertyDisplayModePropertyFirstDayOfWeekPropertyHeaderBorderStylePropertyHeaderLabelStylePropertyHeaderTextPropertyInteractionModePropertyIsOutOfScopeVisiblePropertyMaxDatePropertyMaxDisplayModePropertyMinDatePropertyMinDisplayModePropertyMonthHeaderTextFormatPropertyMonthStyleSelectorPropertyMonthTemplatePropertyNavigateToLowerViewCommandPropertyNavigateToNextViewButtonStylePropertyNavigateToNextViewCommandPropertyNavigateToPreviousViewButtonStylePropertyNavigateToPreviousViewCommandPropertyNavigateToUpperViewCommandPropertyNavigationDirectionPropertySelectedDatePropertySelectedDatesPropertySelectionModePropertyYearHeaderTextFormatPropertyYearStyleSelectorPropertyYearTemplatePropertyPropertiesActualDayNameLabelStyleActualHeaderBorderStyleActualHeaderLabelStyleActualNavigateToNextViewButtonStyleActualNavigateToPreviousViewButtonStyleAreDayNamesVisibleBackgroundColorBlackoutDatesCenturyHeaderTextFormatControlTemplateCultureDayNameLabelStyleDayStyleSelectorDayTemplateDecadeHeaderTextFormatDecadeStyleSelectorDecadeTemplateDisplayDateDisplayModeFirstDayOfWeekHeaderBorderStyleHeaderLabelStyleHeaderTextInteractionModeIsOutOfScopeVisibleMaxDateMaxDisplayModeMinDateMinDisplayModeMonthHeaderTextFormatMonthStyleSelectorMonthTemplateNavigateToLowerViewCommandNavigateToNextViewButtonStyleNavigateToNextViewCommandNavigateToPreviousViewButtonStyleNavigateToPreviousViewCommandNavigateToUpperViewCommandNavigationDirectionSelectedDateSelectedDatesSelectionModeYearHeaderTextFormatYearStyleSelectorYearTemplateMethodsOnApplyTemplate()OnParentChanged()EventsDisplayDateChangedSelectionChanged
Not finding the help you need?
Contact Support