RadCalendar
Represents a calendar control that allows you to select a date.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadCalendar : RadBorder, IRadBorder, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, INotifyPropertyChanged
Inheritance: objectRadContentViewRadBorderRadCalendar
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadCalendar class.
public RadCalendar()
Fields
ActualDayNameLabelStyleProperty
BindableProperty
Identifies the ActualDayNameLabelStyle property.
public static readonly BindableProperty ActualDayNameLabelStyleProperty
ActualHeaderBorderStyleProperty
BindableProperty
Identifies the ActualHeaderBorderStyle property.
public static readonly BindableProperty ActualHeaderBorderStyleProperty
ActualHeaderLabelStyleProperty
BindableProperty
Identifies the ActualHeaderLabelStyle property.
public static readonly BindableProperty ActualHeaderLabelStyleProperty
ActualNavigateToNextViewButtonStyleProperty
BindableProperty
Identifies the ActualNavigateToNextViewButtonStyle property.
public static readonly BindableProperty ActualNavigateToNextViewButtonStyleProperty
ActualNavigateToPreviousViewButtonStyleProperty
BindableProperty
Identifies the ActualNavigateToPreviousViewButtonStyle property.
public static readonly BindableProperty ActualNavigateToPreviousViewButtonStyleProperty
AreDayNamesVisibleProperty
BindableProperty
Identifies the AreDayNamesVisible property.
public static readonly BindableProperty AreDayNamesVisibleProperty
BackgroundColorProperty
BindableProperty
Identifies the BackgroundColor property.
public static readonly BindableProperty BackgroundColorProperty
BlackoutDatesProperty
BindableProperty
Identifies the BlackoutDates property.
public static readonly BindableProperty BlackoutDatesProperty
CenturyHeaderTextFormatProperty
BindableProperty
Identifies the CenturyHeaderTextFormat property.
public static readonly BindableProperty CenturyHeaderTextFormatProperty
ControlTemplateProperty
BindableProperty
Identifies the ControlTemplate property.
public static readonly BindableProperty ControlTemplateProperty
CultureProperty
BindableProperty
Identifies the Culture property.
public static readonly BindableProperty CultureProperty
DayNameLabelStyleProperty
BindableProperty
Identifies the DayNameLabelStyle property.
public static readonly BindableProperty DayNameLabelStyleProperty
DayStyleSelectorProperty
BindableProperty
Identifies the DayStyleSelector property.
public static readonly BindableProperty DayStyleSelectorProperty
DayTemplateProperty
BindableProperty
Identifies the DayTemplate property.
public static readonly BindableProperty DayTemplateProperty
DecadeHeaderTextFormatProperty
BindableProperty
Identifies the DecadeHeaderTextFormat property.
public static readonly BindableProperty DecadeHeaderTextFormatProperty
DecadeStyleSelectorProperty
BindableProperty
Identifies the DecadeStyleSelector property.
public static readonly BindableProperty DecadeStyleSelectorProperty
DecadeTemplateProperty
BindableProperty
Identifies the DecadeTemplate property.
public static readonly BindableProperty DecadeTemplateProperty
DisplayDateProperty
BindableProperty
Identifies the DisplayDate property.
public static readonly BindableProperty DisplayDateProperty
DisplayModeProperty
BindableProperty
Identifies the DisplayMode property.
public static readonly BindableProperty DisplayModeProperty
FirstDayOfWeekProperty
BindableProperty
Identifies the FirstDayOfWeek property.
public static readonly BindableProperty FirstDayOfWeekProperty
HeaderBorderStyleProperty
BindableProperty
Identifies the HeaderBorderStyle property.
public static readonly BindableProperty HeaderBorderStyleProperty
HeaderLabelStyleProperty
BindableProperty
Identifies the HeaderLabelStyle property.
public static readonly BindableProperty HeaderLabelStyleProperty
HeaderTextProperty
BindableProperty
Identifies the HeaderText property.
public static readonly BindableProperty HeaderTextProperty
InteractionModeProperty
BindableProperty
Identifies the InteractionMode property.
public static readonly BindableProperty InteractionModeProperty
IsOutOfScopeVisibleProperty
BindableProperty
Identifies the IsOutOfScopeVisible property.
public static readonly BindableProperty IsOutOfScopeVisibleProperty
MaxDateProperty
BindableProperty
Identifies the MaxDate property.
public static readonly BindableProperty MaxDateProperty
MaxDisplayModeProperty
BindableProperty
Identifies the MaxDisplayMode property.
public static readonly BindableProperty MaxDisplayModeProperty
MinDateProperty
BindableProperty
Identifies the MinDate property.
public static readonly BindableProperty MinDateProperty
MinDisplayModeProperty
BindableProperty
Identifies the MinDisplayMode property.
public static readonly BindableProperty MinDisplayModeProperty
MonthHeaderTextFormatProperty
BindableProperty
Identifies the MonthHeaderTextFormat property.
public static readonly BindableProperty MonthHeaderTextFormatProperty
MonthStyleSelectorProperty
BindableProperty
Identifies the MonthStyleSelector property.
public static readonly BindableProperty MonthStyleSelectorProperty
MonthTemplateProperty
BindableProperty
Identifies the MonthTemplate property.
public static BindableProperty MonthTemplateProperty
NavigateToLowerViewCommandProperty
BindableProperty
Identifies the NavigateToLowerViewCommand property.
public static readonly BindableProperty NavigateToLowerViewCommandProperty
NavigateToNextViewButtonStyleProperty
BindableProperty
Identifies the NavigateToNextViewButtonStyle property.
public static readonly BindableProperty NavigateToNextViewButtonStyleProperty
NavigateToNextViewCommandProperty
BindableProperty
Identifies the NavigateToNextViewCommand property.
public static readonly BindableProperty NavigateToNextViewCommandProperty
NavigateToPreviousViewButtonStyleProperty
BindableProperty
Identifies the NavigateToPreviousViewButtonStyle property.
public static readonly BindableProperty NavigateToPreviousViewButtonStyleProperty
NavigateToPreviousViewCommandProperty
BindableProperty
Identifies the NavigateToPreviousViewCommand property.
public static readonly BindableProperty NavigateToPreviousViewCommandProperty
NavigateToUpperViewCommandProperty
BindableProperty
Identifies the NavigateToUpperViewCommand property.
public static readonly BindableProperty NavigateToUpperViewCommandProperty
NavigationDirectionProperty
BindableProperty
Identifies the NavigationDirection property.
public static readonly BindableProperty NavigationDirectionProperty
SelectedDateProperty
BindableProperty
Identifies the SelectedDate property.
public static readonly BindableProperty SelectedDateProperty
SelectedDatesProperty
BindableProperty
Identifies the SelectedDates property.
public static readonly BindableProperty SelectedDatesProperty
SelectionModeProperty
BindableProperty
Identifies the SelectionMode property.
public static readonly BindableProperty SelectionModeProperty
YearHeaderTextFormatProperty
BindableProperty
Identifies the YearHeaderTextFormat property.
public static readonly BindableProperty YearHeaderTextFormatProperty
YearStyleSelectorProperty
BindableProperty
Identifies the YearStyleSelector property.
public static readonly BindableProperty YearStyleSelectorProperty
YearTemplateProperty
BindableProperty
Identifies the YearTemplate property.
public static BindableProperty YearTemplateProperty
Properties
Gets the actual style that is used for the day name label.
public Style ActualDayNameLabelStyle { get; }
Gets the actual style that is used for the header border.
public Style ActualHeaderBorderStyle { get; }
Gets the actual style that is used for the header label.
public Style ActualHeaderLabelStyle { get; }
Gets the actual style that is used for the next header button.
public Style ActualNavigateToNextViewButtonStyle { get; }
Gets the actual style that is used for the previous header button.
public Style ActualNavigateToPreviousViewButtonStyle { get; }
Gets or sets a value indicating whether the day names should be displayed.
public bool AreDayNamesVisible { get; set; }
BackgroundColor
Color
Gets or sets the BackgroundColor of the calendar.
public Color BackgroundColor { get; set; }
Gets or sets a list of dates that cannot be selected by the user.
public IEnumerable<DateTime> BlackoutDates { get; set; }
Gets or sets the format for the header of the century view of the calendar.
public string CenturyHeaderTextFormat { get; set; }
ControlTemplate
ControlTemplate
Gets or sets the control template of this view.
public ControlTemplate ControlTemplate { get; set; }
Gets or sets the culture that is used to display the calendar.
public CultureInfo Culture { get; set; }
DayNameLabelStyle
Style
Gets or sets the style for the day names in the month views of the calendar.
public Style DayNameLabelStyle { get; set; }
Gets or sets the style selector for the days in the month views of the calendar.
public CalendarStyleSelector DayStyleSelector { get; set; }
DayTemplate
DataTemplate
Gets or sets the content templates for the days in the month view of the calendar.
public DataTemplate DayTemplate { get; set; }
Gets or sets the format for the header of the decade view of the calendar.
public string DecadeHeaderTextFormat { get; set; }
Gets or sets the style selector for the decade views in the century view of the calendar.
public CalendarStyleSelector DecadeStyleSelector { get; set; }
DecadeTemplate
DataTemplate
Gets or sets the content templates for the decades in the century view of the calendar.
public DataTemplate DecadeTemplate { get; set; }
Gets or sets the date that is currently displayed.
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.
public CalendarDisplayMode DisplayMode { get; set; }
Gets or sets the day that is considered the beginning of the week.
public DayOfWeek? FirstDayOfWeek { get; set; }
HeaderBorderStyle
Style
Gets or sets the style for the header border.
public Style HeaderBorderStyle { get; set; }
HeaderLabelStyle
Style
Gets or sets the style for the header label.
public Style HeaderLabelStyle { get; set; }
Gets the text that is displayed in the header of the calendar.
public string HeaderText { get; }
Gets or sets the InteractionMode of the calendar.
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.
public bool IsOutOfScopeVisible { get; set; }
Gets the latest date that the calendar can display.
public DateTime MaxDate { get; set; }
Gets or sets the maximum display mode of the calendar.
public CalendarDisplayMode MaxDisplayMode { get; set; }
Gets the earliest date that the calendar can display.
public DateTime MinDate { get; set; }
Gets or sets the minimum display mode of the calendar.
public CalendarDisplayMode MinDisplayMode { get; set; }
Gets or sets the format for the header of the month view of the calendar.
public string MonthHeaderTextFormat { get; set; }
Gets or sets the style selector for the month views in the year views of the calendar.
public CalendarStyleSelector MonthStyleSelector { get; set; }
MonthTemplate
DataTemplate
Gets or sets the content templates for the months in the year view of the calendar.
public DataTemplate MonthTemplate { get; set; }
Gets the command that is executed when the user navigates to the lower view.
public ICommand NavigateToLowerViewCommand { get; }
Gets or sets the style for button in the header that navigates to the next view.
public Style NavigateToNextViewButtonStyle { get; set; }
Gets the command that is executed when the user navigates to the next view.
public ICommand NavigateToNextViewCommand { get; }
Gets or sets the style for button in the header that navigates to the previous view.
public Style NavigateToPreviousViewButtonStyle { get; set; }
Gets the command that is executed when the user navigates to the previous view.
public ICommand NavigateToPreviousViewCommand { get; }
Gets the command that is executed when the user navigates to the upper view.
public ICommand NavigateToUpperViewCommand { get; }
Gets or set a value indicating whether the scroll direction of the calendar is horizontal.
public Orientation NavigationDirection { get; set; }
Gets or sets the currently selected date.
public DateTime? SelectedDate { get; set; }
Gets an list of the currently selected dates.
public ObservableCollection<DateTime> SelectedDates { get; }
Gets or sets the types of selection that would be allowed in the Calendar.
public CalendarSelectionMode SelectionMode { get; set; }
Gets or sets the format for the header of the year view of the calendar.
public string YearHeaderTextFormat { get; set; }
Gets or sets the style selector for the year views in the decade view of the calendar.
public CalendarStyleSelector YearStyleSelector { get; set; }
YearTemplate
DataTemplate
Gets or sets the content templates for the years in the decade view of the calendar.
public DataTemplate YearTemplate { get; set; }
Methods
protected override void OnApplyTemplate()
protected override void OnParentChanged()
Events
Occurs when display date has changed.
public event EventHandler<ValueChangedEventArgs<DateTime>> DisplayDateChanged
Invoked selection is performed.
public event EventHandler<CalendarSelectionChangedEventArgs> SelectionChanged