skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadCalendar

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

Inheritance
System.Object
RadContentView
RadBorder
RadCalendar
DatePickerView
Inherited Members
RadBorder.BorderColorProperty
RadBorder.CornerRadiusProperty
RadBorder.BorderThicknessProperty
RadBorder.BorderBrushProperty
RadBorder.ChangeVisualState()
RadBorder.BorderColor
RadBorder.CornerRadius
RadBorder.BorderThickness
RadBorder.BorderBrush
RadBorder.IRadBorder.BorderBrush
RadContentView.ActualStyleClassProperty
RadContentView.OnChildAdded(Element)
RadContentView.OnChildRemoved(Element, Int32)
RadContentView.OnBindingContextChanged()
RadContentView.OnHandlerChanged()
RadContentView.ActualStyleClass
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll

Syntax

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

Constructors

RadCalendar()

Initializes a new instance of the RadCalendar class.

Declaration
public RadCalendar()

Fields

ActualDayNameLabelStyleProperty

Identifies the ActualDayNameLabelStyle property.

Declaration
public static readonly BindableProperty ActualDayNameLabelStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualHeaderBorderStyleProperty

Identifies the ActualHeaderBorderStyle property.

Declaration
public static readonly BindableProperty ActualHeaderBorderStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualHeaderLabelStyleProperty

Identifies the ActualHeaderLabelStyle property.

Declaration
public static readonly BindableProperty ActualHeaderLabelStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualNavigateToNextViewButtonStyleProperty

Identifies the ActualNavigateToNextViewButtonStyle property.

Declaration
public static readonly BindableProperty ActualNavigateToNextViewButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ActualNavigateToPreviousViewButtonStyleProperty

Identifies the ActualNavigateToPreviousViewButtonStyle property.

Declaration
public static readonly BindableProperty ActualNavigateToPreviousViewButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

AreDayNamesVisibleProperty

Identifies the AreDayNamesVisible property.

Declaration
public static readonly BindableProperty AreDayNamesVisibleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

BackgroundColorProperty

Identifies the BackgroundColor property.

Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

BlackoutDatesProperty

Identifies the BlackoutDates property.

Declaration
public static readonly BindableProperty BlackoutDatesProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

CenturyHeaderTextFormatProperty

Identifies the CenturyHeaderTextFormat property.

Declaration
public static readonly BindableProperty CenturyHeaderTextFormatProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ControlTemplateProperty

Identifies the ControlTemplate property.

Declaration
public static readonly BindableProperty ControlTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

CultureProperty

Identifies the Culture property.

Declaration
public static readonly BindableProperty CultureProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DayNameLabelStyleProperty

Identifies the DayNameLabelStyle property.

Declaration
public static readonly BindableProperty DayNameLabelStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DayStyleSelectorProperty

Identifies the DayStyleSelector property.

Declaration
public static readonly BindableProperty DayStyleSelectorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DayTemplateProperty

Identifies the DayTemplate property.

Declaration
public static readonly BindableProperty DayTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DecadeHeaderTextFormatProperty

Identifies the DecadeHeaderTextFormat property.

Declaration
public static readonly BindableProperty DecadeHeaderTextFormatProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DecadeStyleSelectorProperty

Identifies the DecadeStyleSelector property.

Declaration
public static readonly BindableProperty DecadeStyleSelectorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DecadeTemplateProperty

Identifies the DecadeTemplate property.

Declaration
public static readonly BindableProperty DecadeTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DisplayDateProperty

Identifies the DisplayDate property.

Declaration
public static readonly BindableProperty DisplayDateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DisplayModeProperty

Identifies the DisplayMode property.

Declaration
public static readonly BindableProperty DisplayModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

FirstDayOfWeekProperty

Identifies the FirstDayOfWeek property.

Declaration
public static readonly BindableProperty FirstDayOfWeekProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HeaderBorderStyleProperty

Identifies the HeaderBorderStyle property.

Declaration
public static readonly BindableProperty HeaderBorderStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HeaderLabelStyleProperty

Identifies the HeaderLabelStyle property.

Declaration
public static readonly BindableProperty HeaderLabelStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HeaderTextProperty

Identifies the HeaderText property.

Declaration
public static readonly BindableProperty HeaderTextProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

InteractionModeProperty

Identifies the InteractionMode property.

Declaration
public static readonly BindableProperty InteractionModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsOutOfScopeVisibleProperty

Identifies the IsOutOfScopeVisible property.

Declaration
public static readonly BindableProperty IsOutOfScopeVisibleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

MaxDateProperty

Identifies the MaxDate property.

Declaration
public static readonly BindableProperty MaxDateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

MaxDisplayModeProperty

Identifies the MaxDisplayMode property.

Declaration
public static readonly BindableProperty MaxDisplayModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

MinDateProperty

Identifies the MinDate property.

Declaration
public static readonly BindableProperty MinDateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

MinDisplayModeProperty

Identifies the MinDisplayMode property.

Declaration
public static readonly BindableProperty MinDisplayModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

MonthHeaderTextFormatProperty

Identifies the MonthHeaderTextFormat property.

Declaration
public static readonly BindableProperty MonthHeaderTextFormatProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

MonthStyleSelectorProperty

Identifies the MonthStyleSelector property.

Declaration
public static readonly BindableProperty MonthStyleSelectorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

MonthTemplateProperty

Identifies the MonthTemplate property.

Declaration
public static BindableProperty MonthTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

NavigateToLowerViewCommandProperty

Identifies the NavigateToLowerViewCommand property.

Declaration
public static readonly BindableProperty NavigateToLowerViewCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

NavigateToNextViewButtonStyleProperty

Identifies the NavigateToNextViewButtonStyle property.

Declaration
public static readonly BindableProperty NavigateToNextViewButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

NavigateToNextViewCommandProperty

Identifies the NavigateToNextViewCommand property.

Declaration
public static readonly BindableProperty NavigateToNextViewCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

NavigateToPreviousViewButtonStyleProperty

Identifies the NavigateToPreviousViewButtonStyle property.

Declaration
public static readonly BindableProperty NavigateToPreviousViewButtonStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

NavigateToPreviousViewCommandProperty

Identifies the NavigateToPreviousViewCommand property.

Declaration
public static readonly BindableProperty NavigateToPreviousViewCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

NavigateToUpperViewCommandProperty

Identifies the NavigateToUpperViewCommand property.

Declaration
public static readonly BindableProperty NavigateToUpperViewCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

NavigationDirectionProperty

Identifies the NavigationDirection property.

Declaration
public static readonly BindableProperty NavigationDirectionProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

SelectedDateProperty

Identifies the SelectedDate property.

Declaration
public static readonly BindableProperty SelectedDateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

SelectedDatesProperty

Identifies the SelectedDates property.

Declaration
public static readonly BindableProperty SelectedDatesProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

SelectionModeProperty

Identifies the SelectionMode property.

Declaration
public static readonly BindableProperty SelectionModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

YearHeaderTextFormatProperty

Identifies the YearHeaderTextFormat property.

Declaration
public static readonly BindableProperty YearHeaderTextFormatProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

YearStyleSelectorProperty

Identifies the YearStyleSelector property.

Declaration
public static readonly BindableProperty YearStyleSelectorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

YearTemplateProperty

Identifies the YearTemplate property.

Declaration
public static BindableProperty YearTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

Properties

ActualDayNameLabelStyle

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

Declaration
public Style ActualDayNameLabelStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualHeaderBorderStyle

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

Declaration
public Style ActualHeaderBorderStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualHeaderLabelStyle

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

Declaration
public Style ActualHeaderLabelStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualNavigateToNextViewButtonStyle

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

Declaration
public Style ActualNavigateToNextViewButtonStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

ActualNavigateToPreviousViewButtonStyle

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

Declaration
public Style ActualNavigateToPreviousViewButtonStyle { get; }
Property Value
Microsoft.Maui.Controls.Style

AreDayNamesVisible

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

Declaration
public bool AreDayNamesVisible { get; set; }
Property Value
System.Boolean

BackgroundColor

Gets or sets the BackgroundColor of the calendar.

Declaration
public Color BackgroundColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color

BlackoutDates

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

Declaration
public IEnumerable<DateTime> BlackoutDates { get; set; }
Property Value
System.Collections.Generic.IEnumerable<System.DateTime>

CenturyHeaderTextFormat

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

Declaration
public string CenturyHeaderTextFormat { get; set; }
Property Value
System.String

ControlTemplate

Gets or sets the control template of this view.

Declaration
public ControlTemplate ControlTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate

Culture

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

Declaration
public CultureInfo Culture { get; set; }
Property Value
System.Globalization.CultureInfo

DayNameLabelStyle

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

Declaration
public Style DayNameLabelStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

DayStyleSelector

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

Declaration
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
public DataTemplate DayTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate

DecadeHeaderTextFormat

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

Declaration
public string DecadeHeaderTextFormat { get; set; }
Property Value
System.String

DecadeStyleSelector

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

Declaration
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
public DataTemplate DecadeTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate

DisplayDate

Gets or sets the date that is currently displayed.

Declaration
public DateTime DisplayDate { get; set; }
Property Value
System.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
public CalendarDisplayMode DisplayMode { get; set; }
Property Value
CalendarDisplayMode

FirstDayOfWeek

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

Declaration
public Nullable<DayOfWeek> FirstDayOfWeek { get; set; }
Property Value
System.Nullable<System.DayOfWeek>

HeaderBorderStyle

Gets or sets the style for the header border.

Declaration
public Style HeaderBorderStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

HeaderLabelStyle

Gets or sets the style for the header label.

Declaration
public Style HeaderLabelStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

HeaderText

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

Declaration
public string HeaderText { get; }
Property Value
System.String

InteractionMode

Gets or sets the InteractionMode of the calendar.

Declaration
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
public bool IsOutOfScopeVisible { get; set; }
Property Value
System.Boolean

MaxDate

Gets the latest date that the calendar can display.

Declaration
public DateTime MaxDate { get; set; }
Property Value
System.DateTime

MaxDisplayMode

Gets or sets the maximum display mode of the calendar.

Declaration
public CalendarDisplayMode MaxDisplayMode { get; set; }
Property Value
CalendarDisplayMode

MinDate

Gets the earliest date that the calendar can display.

Declaration
public DateTime MinDate { get; set; }
Property Value
System.DateTime

MinDisplayMode

Gets or sets the minimum display mode of the calendar.

Declaration
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
public string MonthHeaderTextFormat { get; set; }
Property Value
System.String

MonthStyleSelector

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

Declaration
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
public DataTemplate MonthTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate

NavigateToLowerViewCommand

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

Declaration
public ICommand NavigateToLowerViewCommand { get; }
Property Value
System.Windows.Input.ICommand

NavigateToNextViewButtonStyle

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

Declaration
public Style NavigateToNextViewButtonStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

NavigateToNextViewCommand

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

Declaration
public ICommand NavigateToNextViewCommand { get; }
Property Value
System.Windows.Input.ICommand

NavigateToPreviousViewButtonStyle

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

Declaration
public Style NavigateToPreviousViewButtonStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style

NavigateToPreviousViewCommand

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

Declaration
public ICommand NavigateToPreviousViewCommand { get; }
Property Value
System.Windows.Input.ICommand

NavigateToUpperViewCommand

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

Declaration
public ICommand NavigateToUpperViewCommand { get; }
Property Value
System.Windows.Input.ICommand

NavigationDirection

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

Declaration
public Orientation NavigationDirection { get; set; }
Property Value
Orientation

SelectedDate

Gets or sets the currently selected date.

Declaration
public Nullable<DateTime> SelectedDate { get; set; }
Property Value
System.Nullable<System.DateTime>

SelectedDates

Gets an list of the currently selected dates.

Declaration
public ObservableCollection<DateTime> SelectedDates { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<System.DateTime>

SelectionMode

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

Declaration
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
public string YearHeaderTextFormat { get; set; }
Property Value
System.String

YearStyleSelector

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

Declaration
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
public DataTemplate YearTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate

Methods

OnApplyTemplate()

Declaration
protected override void OnApplyTemplate()

OnParentChanged()

Declaration
protected override void OnParentChanged()

Events

DisplayDateChanged

Occurs when display date has changed.

Declaration
public event EventHandler<ValueChangedEventArgs<DateTime>> DisplayDateChanged
Event Type
System.EventHandler<ValueChangedEventArgs<System.DateTime>>

SelectionChanged

Invoked selection is performed.

Declaration
public event EventHandler<CalendarSelectionChangedEventArgs> SelectionChanged
Event Type
System.EventHandler<CalendarSelectionChangedEventArgs>

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.