Class RadCalendar
Inherited Members
Namespace: Telerik.XamarinForms.Input
Assembly: Telerik.XamarinForms.Input.dll
Syntax
public class RadCalendar : RadView, INotifyNativeControlLoaded, IParentElement
Constructors
RadCalendar()
Declaration
public RadCalendar()
Fields
AgendaViewSettingsProperty
Identifies the AgendaViewSettings property.
Declaration
public static readonly BindableProperty AgendaViewSettingsProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
AppointmentsSourceProperty
Identifies the AppointmentsSource property.
Declaration
public static readonly BindableProperty AppointmentsSourceProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
AppointmentsStyleProperty
Identifies the AppointmentsStyle property.
Declaration
public static BindableProperty AppointmentsStyleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
DayCellStyleProperty
Identifies the DayCellStyle property.
Declaration
public static readonly BindableProperty DayCellStyleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
DayNameCellStyleProperty
Identifies the DayNameCellStyle property.
Declaration
public static readonly BindableProperty DayNameCellStyleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
DayNamesDisplayModeProperty
Identifies the DayNamesDisplayMode property.
Declaration
public static BindableProperty DayNamesDisplayModeProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
DayViewSettingsProperty
Identifies the DayViewSettings property.
Declaration
public static BindableProperty DayViewSettingsProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
DayViewStyleProperty
Identifies the DayViewStyle property.
Declaration
public static BindableProperty DayViewStyleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
DisabledCellStyleProperty
Identifies the DisabledCellStyle property.
Declaration
public static readonly BindableProperty DisabledCellStyleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
DisplayDateProperty
Identifies the DisplayDate property.
Declaration
public static readonly BindableProperty DisplayDateProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
GridLinesColorProperty
Identifies the GridLinesColorProperty property.
Declaration
public static BindableProperty GridLinesColorProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
GridLinesDisplayModeProperty
Identifies the GridLinesDisplayModeProperty property.
Declaration
public static BindableProperty GridLinesDisplayModeProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
GridLinesWidthProperty
Identifies the GridLinesWidthProperty property.
Declaration
public static BindableProperty GridLinesWidthProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
IsAddAppointmentButtonVisibleProperty
Identifies the IsAddAppointmentButtonVisible property.
Declaration
public static readonly BindableProperty IsAddAppointmentButtonVisibleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
MaxDateProperty
Identifies the MaxDateProperty property.
Declaration
public static BindableProperty MaxDateProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
MinDateProperty
Identifies the MinDateProperty property.
Declaration
public static BindableProperty MinDateProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
MultiDayViewSettingsProperty
Identifies the MultiDayViewSettings property.
Declaration
public static readonly BindableProperty MultiDayViewSettingsProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
MultiDayViewStyleProperty
Identifies the MultiDayViewStyle property.
Declaration
public static readonly BindableProperty MultiDayViewStyleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
OtherMonthCellStyleProperty
Identifies the OtherMonthCellStyle property.
Declaration
public static readonly BindableProperty OtherMonthCellStyleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
SchedulingUiEnabledProperty
Identifies the SchedulingUiEnabled property.
Declaration
public static readonly BindableProperty SchedulingUiEnabledProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
SelectedCellStyleProperty
Identifies the SelectedCellStyle property.
Declaration
public static readonly BindableProperty SelectedCellStyleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
SelectedDateProperty
Identifies the SelectedDateProperty property.
Declaration
public static BindableProperty SelectedDateProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
SelectedDatesProperty
Identifies the SelectedDates property.
Declaration
public static readonly BindableProperty SelectedDatesProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
SelectedRangeProperty
Identifies the SelectedRangeProperty property.
Declaration
public static readonly BindableProperty SelectedRangeProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
SelectionModeProperty
Identifies the SelectionModeProperty property.
Declaration
public static readonly BindableProperty SelectionModeProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
SetStyleForCellProperty
Identifies the SetStyleForCell property.
Declaration
public static BindableProperty SetStyleForCellProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
TitleCellStyleProperty
Identifies the TitleCellStyle property.
Declaration
public static readonly BindableProperty TitleCellStyleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
TitleHeightProperty
Identifies the TitleHeight property.
Declaration
public static readonly BindableProperty TitleHeightProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
TodayCellStyleProperty
Identifies the TodayCellStyle property.
Declaration
public static BindableProperty TodayCellStyleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
ViewModeProperty
Identifies the ViewMode property.
Declaration
public static readonly BindableProperty ViewModeProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
WeekendCellStyleProperty
Identifies the WeekendCellStyle property.
Declaration
public static readonly BindableProperty WeekendCellStyleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
WeekNumberCellStyleProperty
Identifies the WeekNumberCellStyle property.
Declaration
public static readonly BindableProperty WeekNumberCellStyleProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
WeekNumbersDisplayModeProperty
Identifies the WeekNumbersDisplayMode property.
Declaration
public static BindableProperty WeekNumbersDisplayModeProperty
Field Value
|
Xamarin.Forms.BindableProperty
|
Properties
AgendaViewSettings
Gets or sets the agenda view settings.
Declaration
public AgendaViewSettings AgendaViewSettings { get; set; }
Property Value
|
AgendaViewSettings
|
AppointmentsSource
Gets or sets the AppointmentsSource. This must be a collection of IAppointment objects, holding the details about the Appointments.
Declaration
public IEnumerable<IAppointment> AppointmentsSource { get; set; }
Property Value
|
System.Collections.Generic.IEnumerable<IAppointment>
|
AppointmentsStyle
Gets or sets the appointments style.
Declaration
public CalendarAppointmentsStyle AppointmentsStyle { get; set; }
Property Value
|
CalendarAppointmentsStyle
The appointments style. |
Commands
Gets the collection with all the custom commands registered with the CommandService. Custom commands have higher priority than the built-in (default) ones.
Declaration
public ObservableCollection<ControlCommandBase<RadCalendar>> Commands { get; }
Property Value
|
System.Collections.ObjectModel.ObservableCollection<ControlCommandBase<RadCalendar>>
|
CommandService
Gets the CommandService instance that manages the commanding behavior of this instance.
Declaration
public CalendarCommandService CommandService { get; }
Property Value
|
CalendarCommandService
|
DayCellStyle
Gets or sets the day cell style.
Declaration
public CalendarCellStyle DayCellStyle { get; set; }
Property Value
|
CalendarCellStyle
|
DayNameCellStyle
Gets or sets the style of the cells that show day names.
Declaration
public CalendarCellStyle DayNameCellStyle { get; set; }
Property Value
|
CalendarCellStyle
|
DayNamesDisplayMode
Gets or sets the day names display mode.
Declaration
public DisplayMode DayNamesDisplayMode { get; set; }
Property Value
|
DisplayMode
|
DayViewSettings
Gets or sets the dayview settings.
Declaration
public DayViewSettings DayViewSettings { get; set; }
Property Value
|
DayViewSettings
|
DayViewStyle
Gets or sets the dayview style.
Declaration
public DayViewStyle DayViewStyle { get; set; }
Property Value
|
DayViewStyle
|
DisabledCellStyle
Gets or sets the disabled cell style.
Declaration
public CalendarCellStyle DisabledCellStyle { get; set; }
Property Value
|
CalendarCellStyle
|
DisplayDate
Gets or sets the DisplayDate.
Declaration
public DateTime DisplayDate { get; set; }
Property Value
|
System.DateTime
|
GridLinesColor
Gets or sets the color of the grid lines.
Declaration
public Color GridLinesColor { get; set; }
Property Value
|
Xamarin.Forms.Color
|
GridLinesDisplayMode
Gets or sets the grid lines display mode.
Declaration
public DisplayMode GridLinesDisplayMode { get; set; }
Property Value
|
DisplayMode
|
GridLinesWidth
Gets or sets the width of the grid lines.
Declaration
public double GridLinesWidth { get; set; }
Property Value
|
System.Double
|
IsAddAppointmentButtonVisible
Gets or sets a boolean value indicating if the calendar button will be visible.
Declaration
public bool IsAddAppointmentButtonVisible { get; set; }
Property Value
|
System.Boolean
|
MaxDate
Gets or sets the max date that can be displayed or selected.
Declaration
public DateTime MaxDate { get; set; }
Property Value
|
System.DateTime
The max date. |
MinDate
Gets or sets the min date that can be displayed or selected.
Declaration
public DateTime MinDate { get; set; }
Property Value
|
System.DateTime
The min date. |
MultiDayViewSettings
Gets or sets the multi-day view settings.
Declaration
public MultiDayViewSettings MultiDayViewSettings { get; set; }
Property Value
|
MultiDayViewSettings
|
MultiDayViewStyle
Gets or sets the multi-day view style.
Declaration
public MultiDayViewStyle MultiDayViewStyle { get; set; }
Property Value
|
MultiDayViewStyle
|
OtherMonthCellStyle
Gets or sets the style mof cells that do not bel;ong to the current month.
Declaration
public CalendarCellStyle OtherMonthCellStyle { get; set; }
Property Value
|
CalendarCellStyle
|
SchedulingUiEnabled
Gets or sets a boolean value indicating if the builtin scheduling modal windows will be visualized.
Declaration
public bool SchedulingUiEnabled { get; set; }
Property Value
|
System.Boolean
|
SelectedCellStyle
Gets or sets the selected cell style.
Declaration
public CalendarCellStyle SelectedCellStyle { get; set; }
Property Value
|
CalendarCellStyle
|
SelectedDate
Gets or sets the selected date.
Declaration
public Nullable<DateTime> SelectedDate { get; set; }
Property Value
|
System.Nullable<System.DateTime>
The selected date. |
SelectedDates
Gets the SelectedDates collection of the RadCalendar
Declaration
public ObservableCollection<DateTime> SelectedDates { get; }
Property Value
|
System.Collections.ObjectModel.ObservableCollection<System.DateTime>
The selected dates. |
SelectedRange
Gets or sets the SelectedRange of the RadCalendar
Declaration
public DateTimeRange SelectedRange { get; set; }
Property Value
|
DateTimeRange
The selected range. |
SelectionMode
Gets or sets the selection mode of the calendar.
Declaration
public CalendarSelectionMode SelectionMode { get; set; }
Property Value
|
CalendarSelectionMode
|
SetStyleForCell
Gets or sets a method that iterates over all calendar cells and provides a custom style.
Declaration
public Func<CalendarCell, CalendarCellStyle> SetStyleForCell { get; set; }
Property Value
|
System.Func<CalendarCell, CalendarCellStyle>
|
TitleCellStyle
Gets or sets the title cell style.
Declaration
public CalendarCellStyle TitleCellStyle { get; set; }
Property Value
|
CalendarCellStyle
|
TitleHeight
Gets or sets the height of the calendar title.
Declaration
public double TitleHeight { get; set; }
Property Value
|
System.Double
|
TodayCellStyle
Gets or sets the today cell style.
Declaration
public CalendarCellStyle TodayCellStyle { get; set; }
Property Value
|
CalendarCellStyle
|
ViewMode
Gets the calendar view mode.
Declaration
public CalendarViewMode ViewMode { get; set; }
Property Value
|
CalendarViewMode
The view mode. |
WeekendCellStyle
Gets or sets the weekend cell style.
Declaration
public CalendarCellStyle WeekendCellStyle { get; set; }
Property Value
|
CalendarCellStyle
|
WeekNumberCellStyle
Gets or sets the style of the cells that show week numbers.
Declaration
public CalendarCellStyle WeekNumberCellStyle { get; set; }
Property Value
|
CalendarCellStyle
|
WeekNumbersDisplayMode
Gets or sets the week numbers display mode.
Declaration
public DisplayMode WeekNumbersDisplayMode { get; set; }
Property Value
|
DisplayMode
|
Methods
OnNativeControlLoaded()
Declaration
protected override void OnNativeControlLoaded()
Overrides
OnNativeControlUnloaded()
Declaration
protected override void OnNativeControlUnloaded()
Overrides
ScrollAppointmentIntoView(IAppointment)
Scrolls the specified appointment into view for Day and MultiDay view mode.
Declaration
public void ScrollAppointmentIntoView(IAppointment appointment)
Parameters
|
IAppointment
appointment
The appointment to scroll the calendar to. |
ScrollTimeIntoView(TimeSpan)
Scrolls the specified time into view when the calendar is in Day or MultiDay view mode.
Declaration
public void ScrollTimeIntoView(TimeSpan time)
Parameters
|
System.TimeSpan
time
The time from day to scroll the calendar to. |
ShowAddAppointmentView()
Opens the "New Appointment" Scheduling UI with which you can add new appointment to the RadCalendar source.
Declaration
public void ShowAddAppointmentView()
ShowAddAppointmentView(DateTime, DateTime)
Opens the "New Appointment" Scheduling UI with which you can add new appointment to the RadCalendar source.
Declaration
public void ShowAddAppointmentView(DateTime appointmentStartTime, DateTime appointmentEndTime)
Parameters
|
System.DateTime
appointmentStartTime
The default start time of the appointment. |
|
System.DateTime
appointmentEndTime
The default end time of the appointment. |
ShowEditAppointmentView(Appointment)
Opens the "Edit Appointment" Scheduling UI with which you can edit/delete an appointment present in the RadCalendar source.
Declaration
public void ShowEditAppointmentView(Appointment appointment)
Parameters
|
Appointment
appointment
The appointment which you would like to edit. |
TryNavigateToLowerView(Boolean)
TryNavigateToUpperView(Boolean)
TrySetViewMode(CalendarViewMode, Boolean)
Declaration
public bool TrySetViewMode(CalendarViewMode viewMode, bool isAnimated = false)
Parameters
|
CalendarViewMode
viewMode
|
|
System.Boolean
isAnimated
|
Returns
|
System.Boolean
|
Events
AddAppointmentButtonClicked
Occurs when the Button within the Calendar is tapped.
Declaration
public event EventHandler<AddAppointmentButtonClickedEventArgs> AddAppointmentButtonClicked
Event Type
|
System.EventHandler<AddAppointmentButtonClickedEventArgs>
|
AppointmentAdded
Occurs when appointment was added.
Declaration
public event EventHandler<AppointmentChangedEventAgrs> AppointmentAdded
Event Type
|
System.EventHandler<AppointmentChangedEventAgrs>
|
AppointmentDeleted
Occurs when appointment was deleted.
Declaration
public event EventHandler<AppointmentChangedEventAgrs> AppointmentDeleted
Event Type
|
System.EventHandler<AppointmentChangedEventAgrs>
|
AppointmentTapped
Occurs when an appointment has been tapped.
Declaration
public event EventHandler<AppointmentTappedEventArgs> AppointmentTapped
Event Type
|
System.EventHandler<AppointmentTappedEventArgs>
|
AppointmentUpdated
Occurs when appointment was edited.
Declaration
public event EventHandler<AppointmentChangedEventAgrs> AppointmentUpdated
Event Type
|
System.EventHandler<AppointmentChangedEventAgrs>
|
CellTapped
Occurs when the use has tapped on a date.
Declaration
public event EventHandler<CalendarCell> CellTapped
Event Type
|
System.EventHandler<CalendarCell>
|
DisplayDateChanged
Occurs when display date has changed.
Declaration
public event EventHandler<ValueChangedEventArgs<object>> DisplayDateChanged
Event Type
|
System.EventHandler<ValueChangedEventArgs<System.Object>>
|
MonthChanged
Occurs when the month has changed in month view mode.
Declaration
public event EventHandler<ValueChangedEventArgs<object>> MonthChanged
Event Type
|
System.EventHandler<ValueChangedEventArgs<System.Object>>
|
SelectionChanged
Occurs when selection has changed.
Declaration
public event EventHandler<CalendarSelectionChangedEventArgs<object>> SelectionChanged
Event Type
|
System.EventHandler<CalendarSelectionChangedEventArgs<System.Object>>
|
TimeSlotTapped
Occurs when the uses has tapped on a time slot.
Declaration
public event EventHandler<TimeSlotTapEventArgs> TimeSlotTapped
Event Type
|
System.EventHandler<TimeSlotTapEventArgs>
|
ViewChanged
Occurs when view mode has changed.
Declaration
public event EventHandler<ValueChangedEventArgs<CalendarViewMode>> ViewChanged
Event Type
|
System.EventHandler<ValueChangedEventArgs<CalendarViewMode>>
|