Class RadCalendar
Represents a calendar control that allows you to select a date.
Inherited Members
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()
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
ActualNavigateToPreviousViewButtonStyleProperty
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
NavigateToNextViewButtonStyleProperty
NavigateToNextViewCommandProperty
NavigateToPreviousViewButtonStyleProperty
NavigateToPreviousViewCommandProperty
NavigateToUpperViewCommandProperty
NavigationDirectionProperty
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
ActualNavigateToPreviousViewButtonStyle
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
NavigateToNextViewButtonStyle
NavigateToNextViewCommand
NavigateToPreviousViewButtonStyle
NavigateToPreviousViewCommand
NavigateToUpperViewCommand
NavigationDirection
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>
|