ClassRadCalendar
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
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
BindableProperty
ActualHeaderBorderStyleProperty
Identifies the ActualHeaderBorderStyle property.
Declaration
public static readonly BindableProperty ActualHeaderBorderStyleProperty
Field Value
BindableProperty
ActualHeaderLabelStyleProperty
Identifies the ActualHeaderLabelStyle property.
Declaration
public static readonly BindableProperty ActualHeaderLabelStyleProperty
Field Value
BindableProperty
ActualNavigateToNextViewButtonStyleProperty
Identifies the ActualNavigateToNextViewButtonStyle property.
Declaration
public static readonly BindableProperty ActualNavigateToNextViewButtonStyleProperty
Field Value
BindableProperty
ActualNavigateToPreviousViewButtonStyleProperty
Identifies the ActualNavigateToPreviousViewButtonStyle property.
Declaration
public static readonly BindableProperty ActualNavigateToPreviousViewButtonStyleProperty
Field Value
BindableProperty
AreDayNamesVisibleProperty
Identifies the AreDayNamesVisible property.
Declaration
public static readonly BindableProperty AreDayNamesVisibleProperty
Field Value
BindableProperty
BackgroundColorProperty
Identifies the BackgroundColor property.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
BindableProperty
BlackoutDatesProperty
Identifies the BlackoutDates property.
Declaration
public static readonly BindableProperty BlackoutDatesProperty
Field Value
BindableProperty
CenturyHeaderTextFormatProperty
Identifies the CenturyHeaderTextFormat property.
Declaration
public static readonly BindableProperty CenturyHeaderTextFormatProperty
Field Value
BindableProperty
ControlTemplateProperty
Identifies the ControlTemplate property.
Declaration
public static readonly BindableProperty ControlTemplateProperty
Field Value
BindableProperty
CultureProperty
Identifies the Culture property.
Declaration
public static readonly BindableProperty CultureProperty
Field Value
BindableProperty
DayNameLabelStyleProperty
Identifies the DayNameLabelStyle property.
Declaration
public static readonly BindableProperty DayNameLabelStyleProperty
Field Value
BindableProperty
DayStyleSelectorProperty
Identifies the DayStyleSelector property.
Declaration
public static readonly BindableProperty DayStyleSelectorProperty
Field Value
BindableProperty
DayTemplateProperty
Identifies the DayTemplate property.
Declaration
public static readonly BindableProperty DayTemplateProperty
Field Value
BindableProperty
DecadeHeaderTextFormatProperty
Identifies the DecadeHeaderTextFormat property.
Declaration
public static readonly BindableProperty DecadeHeaderTextFormatProperty
Field Value
BindableProperty
DecadeStyleSelectorProperty
Identifies the DecadeStyleSelector property.
Declaration
public static readonly BindableProperty DecadeStyleSelectorProperty
Field Value
BindableProperty
DecadeTemplateProperty
Identifies the DecadeTemplate property.
Declaration
public static readonly BindableProperty DecadeTemplateProperty
Field Value
BindableProperty
DisplayDateProperty
Identifies the DisplayDate property.
Declaration
public static readonly BindableProperty DisplayDateProperty
Field Value
BindableProperty
DisplayModeProperty
Identifies the DisplayMode property.
Declaration
public static readonly BindableProperty DisplayModeProperty
Field Value
BindableProperty
FirstDayOfWeekProperty
Identifies the FirstDayOfWeek property.
Declaration
public static readonly BindableProperty FirstDayOfWeekProperty
Field Value
BindableProperty
HeaderBorderStyleProperty
Identifies the HeaderBorderStyle property.
Declaration
public static readonly BindableProperty HeaderBorderStyleProperty
Field Value
BindableProperty
HeaderLabelStyleProperty
Identifies the HeaderLabelStyle property.
Declaration
public static readonly BindableProperty HeaderLabelStyleProperty
Field Value
BindableProperty
HeaderTextProperty
Identifies the HeaderText property.
Declaration
public static readonly BindableProperty HeaderTextProperty
Field Value
BindableProperty
InteractionModeProperty
Identifies the InteractionMode property.
Declaration
public static readonly BindableProperty InteractionModeProperty
Field Value
BindableProperty
IsOutOfScopeVisibleProperty
Identifies the IsOutOfScopeVisible property.
Declaration
public static readonly BindableProperty IsOutOfScopeVisibleProperty
Field Value
BindableProperty
MaxDateProperty
Identifies the MaxDate property.
Declaration
public static readonly BindableProperty MaxDateProperty
Field Value
BindableProperty
MaxDisplayModeProperty
Identifies the MaxDisplayMode property.
Declaration
public static readonly BindableProperty MaxDisplayModeProperty
Field Value
BindableProperty
MinDateProperty
Identifies the MinDate property.
Declaration
public static readonly BindableProperty MinDateProperty
Field Value
BindableProperty
MinDisplayModeProperty
Identifies the MinDisplayMode property.
Declaration
public static readonly BindableProperty MinDisplayModeProperty
Field Value
BindableProperty
MonthHeaderTextFormatProperty
Identifies the MonthHeaderTextFormat property.
Declaration
public static readonly BindableProperty MonthHeaderTextFormatProperty
Field Value
BindableProperty
MonthStyleSelectorProperty
Identifies the MonthStyleSelector property.
Declaration
public static readonly BindableProperty MonthStyleSelectorProperty
Field Value
BindableProperty
MonthTemplateProperty
Identifies the MonthTemplate property.
Declaration
public static BindableProperty MonthTemplateProperty
Field Value
BindableProperty
NavigateToLowerViewCommandProperty
Identifies the NavigateToLowerViewCommand property.
Declaration
public static readonly BindableProperty NavigateToLowerViewCommandProperty
Field Value
BindableProperty
NavigateToNextViewButtonStyleProperty
Identifies the NavigateToNextViewButtonStyle property.
Declaration
public static readonly BindableProperty NavigateToNextViewButtonStyleProperty
Field Value
BindableProperty
NavigateToNextViewCommandProperty
Identifies the NavigateToNextViewCommand property.
Declaration
public static readonly BindableProperty NavigateToNextViewCommandProperty
Field Value
BindableProperty
NavigateToPreviousViewButtonStyleProperty
Identifies the NavigateToPreviousViewButtonStyle property.
Declaration
public static readonly BindableProperty NavigateToPreviousViewButtonStyleProperty
Field Value
BindableProperty
NavigateToPreviousViewCommandProperty
Identifies the NavigateToPreviousViewCommand property.
Declaration
public static readonly BindableProperty NavigateToPreviousViewCommandProperty
Field Value
BindableProperty
NavigateToUpperViewCommandProperty
Identifies the NavigateToUpperViewCommand property.
Declaration
public static readonly BindableProperty NavigateToUpperViewCommandProperty
Field Value
BindableProperty
NavigationDirectionProperty
Identifies the NavigationDirection property.
Declaration
public static readonly BindableProperty NavigationDirectionProperty
Field Value
BindableProperty
SelectedDateProperty
Identifies the SelectedDate property.
Declaration
public static readonly BindableProperty SelectedDateProperty
Field Value
BindableProperty
SelectedDatesProperty
Identifies the SelectedDates property.
Declaration
public static readonly BindableProperty SelectedDatesProperty
Field Value
BindableProperty
SelectionModeProperty
Identifies the SelectionMode property.
Declaration
public static readonly BindableProperty SelectionModeProperty
Field Value
BindableProperty
YearHeaderTextFormatProperty
Identifies the YearHeaderTextFormat property.
Declaration
public static readonly BindableProperty YearHeaderTextFormatProperty
Field Value
BindableProperty
YearStyleSelectorProperty
Identifies the YearStyleSelector property.
Declaration
public static readonly BindableProperty YearStyleSelectorProperty
Field Value
BindableProperty
YearTemplateProperty
Identifies the YearTemplate property.
Declaration
public static BindableProperty YearTemplateProperty
Field Value
BindableProperty
Properties
ActualDayNameLabelStyle
Gets the actual style that is used for the day name label.
Declaration
public Style ActualDayNameLabelStyle { get; }
Property Value
Style
ActualHeaderBorderStyle
Gets the actual style that is used for the header border.
Declaration
public Style ActualHeaderBorderStyle { get; }
Property Value
Style
ActualHeaderLabelStyle
Gets the actual style that is used for the header label.
Declaration
public Style ActualHeaderLabelStyle { get; }
Property Value
Style
ActualNavigateToNextViewButtonStyle
Gets the actual style that is used for the next header button.
Declaration
public Style ActualNavigateToNextViewButtonStyle { get; }
Property Value
Style
ActualNavigateToPreviousViewButtonStyle
Gets the actual style that is used for the previous header button.
Declaration
public Style ActualNavigateToPreviousViewButtonStyle { get; }
Property Value
Style
AreDayNamesVisible
Gets or sets a value indicating whether the day names should be displayed.
BackgroundColor
Gets or sets the BackgroundColor of the calendar.
Declaration
public Color BackgroundColor { get; set; }
Property Value
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
CenturyHeaderTextFormat
Gets or sets the format for the header of the century view of the calendar.
Declaration
public string CenturyHeaderTextFormat { get; set; }
Property Value
ControlTemplate
Gets or sets the control template of this view.
Declaration
public ControlTemplate ControlTemplate { get; set; }
Property Value
ControlTemplate
Culture
Gets or sets the culture that is used to display the calendar.
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
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
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
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
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
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
DataTemplate
DisplayDate
Gets or sets the date that is currently displayed.
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
FirstDayOfWeek
Gets or sets the day that is considered the beginning of the week.
Declaration
public DayOfWeek? FirstDayOfWeek { get; set; }
Property Value
HeaderBorderStyle
Gets or sets the style for the header border.
Declaration
public Style HeaderBorderStyle { get; set; }
Property Value
Style
HeaderLabelStyle
Gets or sets the style for the header label.
Declaration
public Style HeaderLabelStyle { get; set; }
Property Value
Style
HeaderText
Gets the text that is displayed in the header of the calendar.
InteractionMode
Gets or sets the InteractionMode of the calendar.
Declaration
public CalendarInteractionMode InteractionMode { get; set; }
Property Value
IsOutOfScopeVisible
Gets or sets a value indicating whether the leading and trailing dates in the month, decade or century should be displayed.
MaxDate
Gets the latest date that the calendar can display.
MaxDisplayMode
Gets or sets the maximum display mode of the calendar.
Declaration
public CalendarDisplayMode MaxDisplayMode { get; set; }
Property Value
MinDate
Gets the earliest date that the calendar can display.
MinDisplayMode
Gets or sets the minimum display mode of the calendar.
Declaration
public CalendarDisplayMode MinDisplayMode { get; set; }
Property Value
MonthHeaderTextFormat
Gets or sets the format for the header of the month view of the calendar.
Declaration
public string MonthHeaderTextFormat { get; set; }
Property Value
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
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
DataTemplate
NavigateToLowerViewCommand
Gets the command that is executed when the user navigates to the lower view.
Declaration
public ICommand NavigateToLowerViewCommand { get; }
Property Value
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
Style
NavigateToNextViewCommand
Gets the command that is executed when the user navigates to the next view.
Declaration
public ICommand NavigateToNextViewCommand { get; }
Property Value
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
Style
NavigateToPreviousViewCommand
Gets the command that is executed when the user navigates to the previous view.
Declaration
public ICommand NavigateToPreviousViewCommand { get; }
Property Value
NavigateToUpperViewCommand
Gets the command that is executed when the user navigates to the upper view.
Declaration
public ICommand NavigateToUpperViewCommand { get; }
Property Value
NavigationDirection
Gets or set a value indicating whether the scroll direction of the calendar is horizontal.
Declaration
public Orientation NavigationDirection { get; set; }
Property Value
SelectedDate
Gets or sets the currently selected date.
SelectedDates
Gets an list of the currently selected dates.
Declaration
public ObservableCollection<DateTime> SelectedDates { get; }
Property Value
SelectionMode
Gets or sets the types of selection that would be allowed in the Calendar.
Declaration
public CalendarSelectionMode SelectionMode { get; set; }
Property Value
YearHeaderTextFormat
Gets or sets the format for the header of the year view of the calendar.
Declaration
public string YearHeaderTextFormat { get; set; }
Property Value
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
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
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 Value
SelectionChanged
Invoked selection is performed.
Declaration
public event EventHandler<CalendarSelectionChangedEventArgs> SelectionChanged
Event Value